com.caucho.xpath.pattern
Class AttributeIterator
java.lang.Object
com.caucho.xpath.pattern.NodeIterator
com.caucho.xpath.pattern.AxisIterator
com.caucho.xpath.pattern.AttributeIterator
- All Implemented Interfaces:
- ExprEnvironment, java.util.Iterator<org.w3c.dom.Node>
public class AttributeIterator
- extends AxisIterator
Uses the axis to select new nodes.
Methods inherited from class com.caucho.xpath.pattern.NodeIterator |
copy, getContextNode, getContextPosition, getCurrentNode, getFunction, getOwnerDocument, getPositionIndex, getStylesheetEnv, getVar, next, remove, setContextNode, setMorePositions, stringValue, systemProperty |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AttributeIterator
public AttributeIterator(NodeIterator parentIter,
AbstractPattern axis,
org.w3c.dom.Node node,
ExprEnvironment env,
AbstractPattern match)
throws XPathException
- Creates the new AxisIterator.
- Parameters:
parentIter
- the parent iteratoraxis
- the owning axisnode
- the first nodeenv
- the xpath environmentcontext
- the context nodematch
- the node matching pattern
- Throws:
XPathException
nextSelectedNode
public SelectedNode nextSelectedNode()
throws XPathException
- Returns the next selected node.
- Overrides:
nextSelectedNode
in class NodeIterator
- Throws:
XPathException
clone
public java.lang.Object clone()
- Description copied from class:
NodeIterator
- clones the iterator
- Overrides:
clone
in class AxisIterator
toString
public java.lang.String toString()
- Overrides:
toString
in class AxisIterator