| javanet.staxutils.ExtendedNamespaceContext
All known Subclasses: javanet.staxutils.EmptyNamespaceContext, javanet.staxutils.SimpleNamespaceContext,
ExtendedNamespaceContext | public interface ExtendedNamespaceContext extends NamespaceContext(Code) | | Extended namespace context interface that allows the context tree to be navigated
and to list all known prefixes.
author: Christian Niles version: $Revision: 1.1 $ |
Method Summary | |
public Iterator | getDeclaredPrefixes() Returns an
Iterator of all namespace prefixes declared within
this context, irrespective of any ancestor contexts. | public NamespaceContext | getParent() Returns a reference to the parent of this context. | public Iterator | getPrefixes() Returns an
Iterator of all namespace prefixes in scope within this
context, including those inherited from ancestor contexts. | public boolean | isPrefixDeclared(String prefix) Determines if the specified prefix is declared within this context,
irrespective of any ancestor contexts.
Parameters: prefix - The prefix to check. |
getDeclaredPrefixes | public Iterator getDeclaredPrefixes()(Code) | | Returns an
Iterator of all namespace prefixes declared within
this context, irrespective of any ancestor contexts.
An Iterator of prefix Strings. |
getParent | public NamespaceContext getParent()(Code) | | Returns a reference to the parent of this context.
The parent context, or null if this is a rootcontext. |
getPrefixes | public Iterator getPrefixes()(Code) | | Returns an
Iterator of all namespace prefixes in scope within this
context, including those inherited from ancestor contexts.
An Iterator of prefix Strings. |
isPrefixDeclared | public boolean isPrefixDeclared(String prefix)(Code) | | Determines if the specified prefix is declared within this context,
irrespective of any ancestor contexts.
Parameters: prefix - The prefix to check. true if the prefix is declared in this context,false otherwise. |
|
|