| java.lang.Object org.apache.commons.jxpath.ri.NamespaceResolver
NamespaceResolver | public class NamespaceResolver implements Cloneable(Code) | | The reference implementation of JXPathContext.
author: Dmitri Plotnikov version: $Revision: 1.2 $ $Date: 2004/06/29 22:57:20 $ |
getNamespaceContextPointer | public Pointer getNamespaceContextPointer()(Code) | | |
getNamespaceURI | public String getNamespaceURI(String prefix)(Code) | | 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
NamespaceResolver.setNamespaceContextPointer(Pointer) setNamespaceContextPointer .
Parameters: prefix - The namespace prefix to look up namespace URI or null if the prefix is undefined. |
isSealed | public boolean isSealed()(Code) | | |
registerNamespace | public void registerNamespace(String prefix, String namespaceURI)(Code) | | Registers a namespace prefix.
Parameters: prefix - A namespace prefix Parameters: namespaceURI - A URI for that prefix |
setNamespaceContextPointer | public void setNamespaceContextPointer(NodePointer pointer)(Code) | | Register a namespace for the expression context.
|
|
|