Interface NamespaceAware


  • public interface NamespaceAware
    Represents an object which is aware of the namespaces in which its used such as XPath and XQuery type expressions so that the current namespace context can be injected
    • Method Detail

      • setNamespaces

        void setNamespaces​(Map<String,​String> namespaces)
        Injects the XML Namespaces of prefix -> uri mappings
        Parameters:
        namespaces - the XML namespaces with the key of prefixes and the value the URIs
      • getNamespaces

        Map<String,​String> getNamespaces()
        Gets the XML Namespaces