|
|||||||||
| Home >> All >> org >> apache >> xml >> [ utils overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.xml.utils
Interface PrefixResolver

- All Known Implementing Classes:
- PrefixResolverDefault
- public interface PrefixResolver
The class that implements this interface can resolve prefixes to namespaces. Examples would include resolving the meaning of a prefix at a particular point in a document, or mapping the prefixes used in an XPath expression.
| 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,
org.w3c.dom.Node context)
Given a namespace, get the corresponding prefix, based on the context node. |
boolean |
handlesNullPrefixes()
|
| Method Detail |
getNamespaceForPrefix
public java.lang.String getNamespaceForPrefix(java.lang.String prefix)
- Given a namespace, get the corrisponding prefix. This assumes that
the PrefixResolver holds its own namespace context, or is a namespace
context itself.
getNamespaceForPrefix
public java.lang.String getNamespaceForPrefix(java.lang.String prefix, org.w3c.dom.Node context)
- Given a namespace, get the corresponding prefix, based on the context node.
getBaseIdentifier
public java.lang.String getBaseIdentifier()
- Return the base identifier.
handlesNullPrefixes
public boolean handlesNullPrefixes()
|
|||||||||
| Home >> All >> org >> apache >> xml >> [ utils overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC