|
J avolution v5.2 (J2SE 1.5+) | ||||||||
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(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). |
Method Detail |
---|
CharArray getNamespaceURI(java.lang.CharSequence prefix)
null
if the prefix is unbound.
prefix
- prefix to look up
java.lang.IllegalArgumentException
- if prefix
is
null
CharArray 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
null
java.util.Iterator getPrefixes(java.lang.CharSequence namespaceURI)
namespaceURI
- URI of Namespace to lookup
Iterator
over CharArray
prefixes.
java.lang.IllegalArgumentException
- if namespaceURI
is
null
|
J avolution v5.2 (J2SE 1.5+) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |