Class NamespaceContextImpl

java.lang.Object
com.sun.xml.wss.impl.dsig.NamespaceContextImpl
All Implemented Interfaces:
NamespaceContext

public class NamespaceContextImpl extends Object implements NamespaceContext
Implements NamespaceContext . TODO : Performance Improvements.
  • Constructor Details

    • NamespaceContextImpl

      public NamespaceContextImpl()
  • Method Details

    • add

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

      public String getNamespaceURI(String prefix)
      Specified by:
      getNamespaceURI in interface NamespaceContext
    • getPrefix

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

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

      public Map getMap()