org.apache.batik.bridge.svg12
Class XPathPatternContentSelector.NSPrefixResolver

java.lang.Object
  extended by org.apache.batik.bridge.svg12.XPathPatternContentSelector.NSPrefixResolver
Enclosing class:
XPathPatternContentSelector

protected class XPathPatternContentSelector.NSPrefixResolver
extends Object

Xalan prefix resolver.


Constructor Summary
protected XPathPatternContentSelector.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

XPathPatternContentSelector.NSPrefixResolver

protected XPathPatternContentSelector.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.