public class NamespaceIterator extends NodeIterator
| Modifier and Type | Field and Description | 
|---|---|
| protected AbstractPattern | _match | 
| protected NamespaceNode | _next | 
| protected NamespaceNode | _node | 
| protected NodeIterator | _parentIter | 
_contextNode, _env, _position, _size, log| Modifier | Constructor and Description | 
|---|---|
| protected  | NamespaceIterator(ExprEnvironment env) | 
|   | NamespaceIterator(org.w3c.dom.Node node,
                 NodeIterator parentIter,
                 ExprEnvironment env,
                 AbstractPattern match)Creates the new NamespaceIterator. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Object | clone()clones the iterator | 
| int | getContextSize()Returns the number of nodes in the context list. | 
| boolean | hasNext()True if there's more data. | 
| org.w3c.dom.Node | nextNode()Returns the next selected node. | 
| SelectedNode | nextSelectedNode()Returns the next selected node. | 
| java.lang.String | toString() | 
copy, getContextNode, getContextPosition, getCurrentNode, getFunction, getOwnerDocument, getPositionIndex, getStylesheetEnv, getVar, next, remove, setContextNode, setMorePositions, stringValue, systemPropertyprotected NodeIterator _parentIter
protected AbstractPattern _match
protected NamespaceNode _node
protected NamespaceNode _next
protected NamespaceIterator(ExprEnvironment env)
public NamespaceIterator(org.w3c.dom.Node node,
                         NodeIterator parentIter,
                         ExprEnvironment env,
                         AbstractPattern match)
                  throws XPathException
node - the initial nodeparentIter - the parent iteratorenv - the variable environmentmatch - the node matching patternXPathExceptionpublic boolean hasNext()
hasNext in interface java.util.Iterator<org.w3c.dom.Node>hasNext in class NodeIteratorpublic org.w3c.dom.Node nextNode()
                          throws XPathException
nextNode in class NodeIteratorXPathExceptionpublic SelectedNode nextSelectedNode() throws XPathException
nextSelectedNode in class NodeIteratorXPathExceptionpublic int getContextSize()
getContextSize in interface ExprEnvironmentgetContextSize in class NodeIteratorpublic java.lang.Object clone()
NodeIteratorclone in class NodeIteratorpublic java.lang.String toString()
toString in class java.lang.Object