net.sf.saxon.instruct
public final class DummyNamespaceResolver extends Object implements Serializable, NamespaceResolver
Method Summary | |
---|---|
static DummyNamespaceResolver | getInstance()
Return the singular instance of this class |
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. |
Returns: the singular instance
Parameters: prefix the namespace prefix useDefault true if the default namespace is to be used when the prefix is ""
Returns: the uri for the namespace, or null if the prefix is not in scope