Package org.dom4j.xpath
Class DefaultNamespaceContext
- java.lang.Object
-
- org.dom4j.xpath.DefaultNamespaceContext
-
- All Implemented Interfaces:
java.io.Serializable
,org.jaxen.NamespaceContext
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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultNamespaceContext(Element element)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultNamespaceContext
create(java.lang.Object node)
java.lang.String
translateNamespacePrefixToUri(java.lang.String prefix)
-
-
-
Constructor Detail
-
DefaultNamespaceContext
public DefaultNamespaceContext(Element element)
-
-
Method Detail
-
create
public static DefaultNamespaceContext create(java.lang.Object node)
-
translateNamespacePrefixToUri
public java.lang.String translateNamespacePrefixToUri(java.lang.String prefix)
- Specified by:
translateNamespacePrefixToUri
in interfaceorg.jaxen.NamespaceContext
-
-