public interface ExtendedNamespaceContext extends NamespaceContext
| Modifier and Type | Method and Description |
|---|---|
Iterator |
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 |
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.
|
getNamespaceURI, getPrefix, getPrefixesNamespaceContext 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 getPrefixes()
Iterator of all namespace prefixes in scope within this
context, including those inherited from ancestor contexts.Copyright © 2021. All rights reserved.