|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NamespaceContext
This interface represents the XML namespace context stack while parsing.
Method Summary | |
---|---|
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 |
getPrefixes(CharSequence namespaceURI)
Returns all prefixes bound to a namespace URI in the current scope (including predefined prefixes). |
Method Detail |
---|
CharArray getNamespaceURI(CharSequence prefix)
null
if the prefix is unbound.
prefix
- prefix to look up
IllegalArgumentException
- 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 getPrefixes(CharSequence namespaceURI)
namespaceURI
- URI of Namespace to lookup
Iterator
over CharArray
prefixes.
IllegalArgumentException
- if namespaceURI
is
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |