public class DefaultNamespaceContext
extends java.lang.Object
implements org.jaxen.NamespaceContext, java.io.Serializable
DefaultNamespaceContext
implements a Jaxen NamespaceContext
such that a context node is used to determine the current XPath namespace
prefixes and namespace URIs available.
Constructor and Description |
---|
DefaultNamespaceContext(Element element) |
Modifier and Type | Method and Description |
---|---|
static DefaultNamespaceContext |
create(java.lang.Object node) |
java.lang.String |
translateNamespacePrefixToUri(java.lang.String prefix) |
public DefaultNamespaceContext(Element element)
public static DefaultNamespaceContext create(java.lang.Object node)
public java.lang.String translateNamespacePrefixToUri(java.lang.String prefix)
translateNamespacePrefixToUri
in interface org.jaxen.NamespaceContext