Interface NamespaceContext

All Known Implementing Classes:

public interface NamespaceContext
Interface used by XpathEngine in order to map prefixes to namespace URIs.

This is modelled after javax.xml.namespace.NamespaceContext but reduced to our needs.

  • Method Details

    • getNamespaceURI

      String getNamespaceURI(String prefix)
      Obtain the URI for a given prefix.

      Unlike the method in javax.xml.namespace.NamespaceContext doesn't have to implement any special handling for predefined prefix values.

      prefix - prefix to look up
      null if the prefix is unknown.
    • getPrefixes

      Iterator getPrefixes()
      Get all prefixes of this context.
      all prefixes of this context