Class NamespaceContextImpl

    • Constructor Detail

      • NamespaceContextImpl

        public NamespaceContextImpl()
    • Method Detail

      • add

        public void add​(String prefix,
                        String uri)
        Add prefix and namespaceuri to be associated with the prefix.
        Parameters:
        prefix - Namespace Prefix
        uri - NamespaceURI
      • getPrefix

        public String getPrefix​(String namespaceURI)
        Specified by:
        getPrefix in interface NamespaceContext
        Parameters:
        namespaceURI -
        Returns:
        NamespaceURI associated with the prefix
      • getPrefixes

        public Iterator getPrefixes​(String namespaceURI)
        Specified by:
        getPrefixes in interface NamespaceContext
        Parameters:
        namespaceURI -
        Returns:
        Iterator to list of prefixes associated with the namespaceURI
      • getMap

        public Map getMap()