org.apache.batik.dom
Class AbstractDocument.XPathNodeNSResolver
java.lang.Object
org.apache.batik.dom.AbstractDocument.XPathNodeNSResolver
- All Implemented Interfaces:
- org.w3c.dom.xpath.XPathNSResolver
- Enclosing class:
- AbstractDocument
protected class AbstractDocument.XPathNodeNSResolver
- extends Object
- implements org.w3c.dom.xpath.XPathNSResolver
An XPathNSResolver that uses Node.lookupNamespaceURI.
Field Summary |
protected Node |
contextNode
The context node for namespace prefix resolution. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contextNode
protected Node contextNode
- The context node for namespace prefix resolution.
AbstractDocument.XPathNodeNSResolver
public AbstractDocument.XPathNodeNSResolver(Node n)
- Creates a new XPathNodeNSResolver object.
lookupNamespaceURI
public String lookupNamespaceURI(String prefix)
- DOM: Implements
XPathNSResolver.lookupNamespaceURI(String)
.
- Specified by:
lookupNamespaceURI
in interface org.w3c.dom.xpath.XPathNSResolver
Copyright © 2017 Apache Software Foundation. All Rights Reserved.