Interface NamespaceContext

All Known Implementing Classes:
ElementNamespaceContext

public interface NamespaceContext

Specification of the interface required by ContextSupport for delegation of namespace prefix binding resolution.

  • Method Summary

    Modifier and Type
    Method
    Description
    Translate a namespace prefix into a URI Translate the prefix used in a component of an XPath into its expanded namespace URI.
  • Method Details

    • translateNamespacePrefix

      String translateNamespacePrefix(String prefix)
      Translate a namespace prefix into a URI Translate the prefix used in a component of an XPath into its expanded namespace URI.

      Parameters:
      prefix - The namespace prefix
      Returns:
      The URI matching the prefix
      See Also: