org.apache.batik.bridge.svg12

Class XPathPatternContentSelector.NSPrefixResolver

protected class XPathPatternContentSelector.NSPrefixResolver extends Object implements PrefixResolver

Xalan prefix resolver.
Method Summary
StringgetBaseIdentifier()
Get the base URI for this resolver.
StringgetNamespaceForPrefix(String prefix)
Resolves the given namespace prefix.
StringgetNamespaceForPrefix(String prefix, Node context)
Resolves the given namespace prefix.
booleanhandlesNullPrefixes()
Returns whether this PrefixResolver handles a null prefix.

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 B) 2007 Apache Software Foundation. All Rights Reserved.