Home » commons-jxpath-1.3-src » org.apache.commons.jxpath.ri » [javadoc | source]
org.apache.commons.jxpath.ri
public class: NamespaceResolver [javadoc | source]
java.lang.Object
   org.apache.commons.jxpath.ri.NamespaceResolver

All Implemented Interfaces:
    Cloneable

The reference implementation of JXPathContext.
Field Summary
protected  HashMap namespaceMap     
protected  HashMap reverseMap     
protected  NodePointer pointer     
Method from org.apache.commons.jxpath.ri.NamespaceResolver Summary:
clone,   getNamespaceContextPointer,   getNamespaceURI,   getPrefix,   isSealed,   registerNamespace,   seal,   setNamespaceContextPointer
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.jxpath.ri.NamespaceResolver Detail:
 public Object clone() 
 public Pointer getNamespaceContextPointer() 
 public String getNamespaceURI(String prefix) 
    Given a prefix, returns a registered namespace URI. If the requested prefix was not defined explicitly using the registerNamespace method, JXPathContext will then check the context node to see if the prefix is defined there. See setNamespaceContextPointer .
 public String getPrefix(String namespaceURI) 
 public boolean isSealed() 
 public  void registerNamespace(String prefix,
    String namespaceURI) 
    Registers a namespace prefix.
 public  void seal() 
 public  void setNamespaceContextPointer(NodePointer pointer) 
    Register a namespace for the expression context.