public class InscopeNamespaceResolver extends Object implements NamespaceResolver
Constructor and Description |
---|
InscopeNamespaceResolver(NodeInfo node) |
Modifier and Type | Method and Description |
---|---|
NodeInfo |
getNode()
Get the node on which this namespace resolver is based
|
String |
getURIForPrefix(String prefix,
boolean useDefault)
Get the namespace URI corresponding to a given prefix.
|
Iterator |
iteratePrefixes()
Get an iterator over all the prefixes declared in this namespace context.
|
public InscopeNamespaceResolver(NodeInfo node)
public String getURIForPrefix(String prefix, boolean useDefault)
getURIForPrefix
in interface NamespaceResolver
prefix
- the namespace prefixuseDefault
- true if the default namespace is to be used when the
prefix is ""public Iterator iteratePrefixes()
iteratePrefixes
in interface NamespaceResolver
public NodeInfo getNode()