code: public void registerPrefixForNamespace(String prefix, String namespace) {
          getEnvironment().registerNamespace(prefix, getUrl(namespace));
      }
docs: Register a prefix to use in XPath expressions.
  @param prefix    prefix to be used in xPath expressions.
  @param namespace XML namespace the prefix should point to.