public interface NamespaceContext
| Modifier and Type | Method and Description |
|---|---|
CharArray |
getNamespaceURI(java.lang.CharSequence prefix)
Returns the namespace URI bound to a prefix in the current scope
or
null if the prefix is unbound. |
CharArray |
getPrefix(java.lang.CharSequence namespaceURI)
Returns the prefix bound to the namespace URI in the current scope
or
null if the namespace URI is unbound. |
java.util.Iterator |
getPrefixes(java.lang.CharSequence namespaceURI)
Returns all prefixes bound to a namespace URI in the current scope
(including predefined prefixes).
|
CharArray getNamespaceURI(java.lang.CharSequence prefix)
null if the prefix is unbound.prefix - prefix to look upjava.lang.IllegalArgumentException - if prefix is
nullCharArray getPrefix(java.lang.CharSequence namespaceURI)
null if the namespace URI is unbound.namespaceURI - URI of the namespace to lookup.java.lang.IllegalArgumentException - if namespaceURI is
nulljava.util.Iterator getPrefixes(java.lang.CharSequence namespaceURI)
namespaceURI - URI of Namespace to lookupIterator over CharArray prefixes.java.lang.IllegalArgumentException - if namespaceURI is
nullCopyright © 2005 - 2007 Javolution.