This interface represents the XML namespace context stack while parsing.
- Author
- Jean-Marie Dautelle
- Version
- 4.0, September 12, 2006
Definition at line 20 of file NamespaceContext.java.
◆ getNamespaceURI()
CharArray javolution.xml.stream.NamespaceContext.getNamespaceURI |
( |
CharSequence |
prefix | ) |
|
Returns the namespace URI bound to a prefix in the current scope or null
if the prefix is unbound.
- Parameters
-
- Returns
- the namespace URI.
- Exceptions
-
IllegalArgumentException | if prefix is null |
Implemented in javolution.xml.internal.stream.NamespacesImpl.
◆ getPrefix()
CharArray javolution.xml.stream.NamespaceContext.getPrefix |
( |
CharSequence |
namespaceURI | ) |
|
Returns the prefix bound to the namespace URI in the current scope or null
if the namespace URI is unbound.
- Parameters
-
namespaceURI | URI of the namespace to lookup. |
- Returns
- the prefix bound to the namespace URI.
- Exceptions
-
IllegalArgumentException | if namespaceURI is null |
Implemented in javolution.xml.internal.stream.NamespacesImpl.
◆ getPrefixes()
Iterator<CharArray> javolution.xml.stream.NamespaceContext.getPrefixes |
( |
CharSequence |
namespaceURI | ) |
|
Returns all prefixes bound to a namespace URI in the current scope (including predefined prefixes).
- Parameters
-
namespaceURI | URI of Namespace to lookup |
- Returns
- an
Iterator
over CharArray prefixes.
- Exceptions
-
IllegalArgumentException | if namespaceURI is null |
Implemented in javolution.xml.internal.stream.NamespacesImpl.
The documentation for this interface was generated from the following file: