org.apache.batik.dom
Class AbstractDocument.XPathNodeNSResolver

java.lang.Object
  extended by org.apache.batik.dom.AbstractDocument.XPathNodeNSResolver
Enclosing class:
AbstractDocument

protected class AbstractDocument.XPathNodeNSResolver
extends java.lang.Object

An XPathNSResolver that uses Node.lookupNamespaceURI.


Field Summary
protected  org.w3c.dom.Node contextNode
          The context node for namespace prefix resolution.
 
Constructor Summary
AbstractDocument.XPathNodeNSResolver(org.w3c.dom.Node n)
          Creates a new XPathNodeNSResolver object.
 
Method Summary
 java.lang.String lookupNamespaceURI(java.lang.String prefix)
          DOM: Implements org.w3c.dom.xpath.XPathNSResolver#lookupNamespaceURI(String).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contextNode

protected org.w3c.dom.Node contextNode
The context node for namespace prefix resolution.

Constructor Detail

AbstractDocument.XPathNodeNSResolver

public AbstractDocument.XPathNodeNSResolver(org.w3c.dom.Node n)
Creates a new XPathNodeNSResolver object.

Method Detail

lookupNamespaceURI

public java.lang.String lookupNamespaceURI(java.lang.String prefix)
DOM: Implements org.w3c.dom.xpath.XPathNSResolver#lookupNamespaceURI(String).



Copyright ? 2008 Apache Software Foundation. All Rights Reserved.