Javolution 6.0.0 java
javolution.xml.stream.NamespaceContext Interface Reference
Inheritance diagram for javolution.xml.stream.NamespaceContext:
[legend]

Public Member Functions

CharArray getNamespaceURI (CharSequence prefix)
 
CharArray getPrefix (CharSequence namespaceURI)
 
Iterator< CharArraygetPrefixes (CharSequence namespaceURI)
 

Detailed Description

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.

Member Function Documentation

◆ 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
prefixprefix to look up
Returns
the namespace URI.
Exceptions
IllegalArgumentExceptionif 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
namespaceURIURI of the namespace to lookup.
Returns
the prefix bound to the namespace URI.
Exceptions
IllegalArgumentExceptionif 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
namespaceURIURI of Namespace to lookup
Returns
an Iterator over CharArray prefixes.
Exceptions
IllegalArgumentExceptionif namespaceURI is null

Implemented in javolution.xml.internal.stream.NamespacesImpl.


The documentation for this interface was generated from the following file: