public interface NamespaceContext
Modifier and Type | Method and Description |
---|---|
CharArray |
getNamespaceURI(CharSequence prefix)
Returns the namespace URI bound to a prefix in the current scope
or
null if the prefix is unbound. |
CharArray |
getPrefix(CharSequence namespaceURI)
Returns the prefix bound to the namespace URI in the current scope
or
null if the namespace URI is unbound. |
Iterator<CharArray> |
getPrefixes(CharSequence namespaceURI)
Returns all prefixes bound to a namespace URI in the current scope
(including predefined prefixes).
|
CharArray getNamespaceURI(CharSequence prefix)
null
if the prefix is unbound.prefix
- prefix to look upIllegalArgumentException
- if prefix
is
null
CharArray getPrefix(CharSequence namespaceURI)
null
if the namespace URI is unbound.namespaceURI
- URI of the namespace to lookup.IllegalArgumentException
- if namespaceURI
is
null
Iterator<CharArray> getPrefixes(CharSequence namespaceURI)
namespaceURI
- URI of Namespace to lookupIterator
over CharArray
prefixes.IllegalArgumentException
- if namespaceURI
is
null
Copyright © 2005-2013 Javolution. All Rights Reserved.