org.apache.xpath.jaxp
public class JAXPPrefixResolver extends Object implements PrefixResolver
Field Summary | |
---|---|
static String | S_XMLNAMESPACEURI
The URI for the XML namespace.
|
Constructor Summary | |
---|---|
JAXPPrefixResolver(NamespaceContext nsContext) |
Method Summary | |
---|---|
String | getBaseIdentifier()
Return the base identifier.
|
String | getNamespaceForPrefix(String prefix) |
String | getNamespaceForPrefix(String prefix, Node namespaceContext)
Given a prefix and a Context Node, get the corresponding namespace.
|
boolean | handlesNullPrefixes() |
Returns: null
Parameters: prefix Prefix to resolve. namespaceContext Node from which to start searching for a xmlns attribute that binds a prefix to a namespace.
Returns: Namespace that prefix resolves to, or null if prefix is not bound.
See Also: handlesNullPrefixes