org.apache.xalan.xpath.xml
Interface PrefixResolver
- All Known Implementing Classes:
- PrefixResolverDefault, ElemTemplateElement, Stylesheet
- public interface PrefixResolver
This class that implements this interface can resolve prefixes
to namespaces.
Method Summary |
java.lang.String |
getBaseIdentifier()
Return the base identifier. |
java.lang.String |
getNamespaceForPrefix(java.lang.String prefix)
Given a namespace, get the corrisponding prefix. |
java.lang.String |
getNamespaceForPrefix(java.lang.String prefix,
Node context)
Given a namespace, get the corrisponding prefix. |
getNamespaceForPrefix
public java.lang.String getNamespaceForPrefix(java.lang.String prefix)
- Given a namespace, get the corrisponding prefix. This assumes that
the PrevixResolver hold's it's own namespace context, or is a namespace
context itself.
getNamespaceForPrefix
public java.lang.String getNamespaceForPrefix(java.lang.String prefix,
Node context)
- Given a namespace, get the corrisponding prefix.
getBaseIdentifier
public java.lang.String getBaseIdentifier()
- Return the base identifier.