org.apache.batik.dom
Class AbstractDocument.XPathExpr.NSPrefixResolver

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

protected class AbstractDocument.XPathExpr.NSPrefixResolver
extends Object

Xalan prefix resolver.


Constructor Summary
protected AbstractDocument.XPathExpr.NSPrefixResolver()
           
 
Method Summary
 String getBaseIdentifier()
          Get the base URI for this resolver.
 String getNamespaceForPrefix(String prefix)
          Resolves the given namespace prefix.
 String getNamespaceForPrefix(String prefix, Node context)
          Resolves the given namespace prefix.
 boolean handlesNullPrefixes()
          Returns whether this PrefixResolver handles a null prefix.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDocument.XPathExpr.NSPrefixResolver

protected AbstractDocument.XPathExpr.NSPrefixResolver()
Method Detail

getBaseIdentifier

public String getBaseIdentifier()
Get the base URI for this resolver. Since this resolver isn't associated with a particular node, returns null.


getNamespaceForPrefix

public String getNamespaceForPrefix(String prefix)
Resolves the given namespace prefix.


getNamespaceForPrefix

public String getNamespaceForPrefix(String prefix,
                                    Node context)
Resolves the given namespace prefix.


handlesNullPrefixes

public boolean handlesNullPrefixes()
Returns whether this PrefixResolver handles a null prefix.



Copyright ? 2008 Apache Software Foundation. All Rights Reserved.