|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtendedNamespaceContext
Extended namespace context interface that allows the context tree to be navigated and to list all known prefixes.
Method Summary | |
---|---|
Iterator<String> |
getDeclaredPrefixes()
Returns an Iterator of all namespace prefixes declared within this context,
irrespective of any ancestor contexts. |
NamespaceContext |
getParent()
Returns a reference to the parent of this context. |
Iterator<String> |
getPrefixes()
Returns an Iterator of all namespace prefixes in scope within this context, including
those inherited from ancestor contexts. |
boolean |
isPrefixDeclared(String prefix)
Determines if the specified prefix is declared within this context, irrespective of any ancestor contexts. |
Methods inherited from interface javax.xml.namespace.NamespaceContext |
---|
getNamespaceURI, getPrefix, getPrefixes |
Method Detail |
---|
NamespaceContext getParent()
null
if this is a root context.boolean isPrefixDeclared(String prefix)
prefix
- The prefix to check.
true
if the prefix is declared in this context, false
otherwise.Iterator<String> getPrefixes()
Iterator
of all namespace prefixes in scope within this context, including
those inherited from ancestor contexts.
Iterator
of prefix String
s.Iterator<String> getDeclaredPrefixes()
Iterator
of all namespace prefixes declared within this context,
irrespective of any ancestor contexts.
Iterator
of prefix String
s.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |