org.dom4j.xpath
Class DefaultNamespaceContext
java.lang.Object
org.dom4j.xpath.DefaultNamespaceContext
- All Implemented Interfaces:
- org.jaxen.NamespaceContext, Serializable
- public class DefaultNamespaceContext
- extends Object
- implements org.jaxen.NamespaceContext, Serializable
DefaultNamespaceContext
implements a Jaxen NamespaceContext
such that a context node is used to determine the current XPath namespace
prefixes and namespace URIs available.
- Author:
- James Strachan
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultNamespaceContext
public DefaultNamespaceContext(Element element)
create
public static DefaultNamespaceContext create(Object node)
translateNamespacePrefixToUri
public String translateNamespacePrefixToUri(String prefix)
- Specified by:
translateNamespacePrefixToUri
in interface org.jaxen.NamespaceContext
Copyright © 2001-2005 MetaStuff Ltd.. All Rights Reserved.