com.sun.org.apache.xpath.internal.axes.LocPathIterator
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | ChildIterator(Compiler
A reference to the Compiler that contains the op map. compiler, int The position within the op map, which contains the
location path expression for this itterator. opPos, int Analysis bits of the entire pattern. analysis)Create a ChildIterator object. |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the first node out of the nodeset, or DTM.NULL.The XPath runtime context. xctxt)Overrides com. Return the first node out of the nodeset, if this expression is a nodeset expression. |
| public int | Returns: Axis.CHILD, etc., or -1 if the axis is not known or is of multiple types.Overrides com. Implements com. Returns the axis being iterated, if it is known. |
| public int | Returns: The nextNode in the set being iterated over, or
null if there are no more members in that set.Implements abstract com. Implements com. Returns the next node in the set and advances the position of the iterator in the set. |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID Hides com. | |
| ChildIterator | back to summary |
|---|---|
| pack-priv ChildIterator(Compiler compiler, int opPos, int analysis) throws TransformerException Create a ChildIterator object.
| |
| asNode | back to summary |
|---|---|
| public int asNode(XPathContext xctxt) throws TransformerException Overrides com. Return the first node out of the nodeset, if this expression is a nodeset expression. This is the default implementation for nodesets. Warning Do not mutate this class from this function!
| |
| getAxis | back to summary |
|---|---|
| public int getAxis() Overrides com. Implements com. Returns the axis being iterated, if it is known.
| |
| nextNode | back to summary |
|---|---|
| public int nextNode() Implements abstract com. Implements com. Returns the next node in the set and advances the position of the iterator in the set. After a NodeIterator is created, the first call to nextNode() returns the first node in the set.
| |