com.sun.org.apache.xpath.internal.axes.LocPathIterator
| Modifier and Type | Field and Description |
|---|---|
| protected int | m_axis
The axis that we are traversing. |
| protected int | m_extendedTypeID
The extended type ID, not set until setRoot. |
| protected transient DTMAxisTraverser | m_traverser
The traverser to use to navigate over the descendants. |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | DescendantIterator(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)Create a DescendantIterator object. |
| public |
| 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 DTMIterator | Returns: A cloned NodeIterator set of the start of the query.Overrides com. Implements com. Get a cloned Iterator that is reset to the beginning of the query. |
| public boolean | deepEquals(Expression expr)
Overrides com. Compare this object with another object and see if they are equal, include the sub heararchy. |
| public void | detach()
Overrides com. Implements com. Detaches the iterator from the set which it iterated over, releasing any computational resources and placing the iterator in the INVALID state. |
| 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. |
| public void | setRoot(int
The XPath runtime context for this
transformation. context, Object environment)Overrides com. Implements com. Initialize the context values for this expression after it is cloned. |
| m_axis | back to summary |
|---|---|
| protected int m_axis The axis that we are traversing. | |
| m_extendedTypeID | back to summary |
|---|---|
| protected int m_extendedTypeID The extended type ID, not set until setRoot. | |
| m_traverser | back to summary |
|---|---|
| protected transient DTMAxisTraverser m_traverser The traverser to use to navigate over the descendants. | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID Hides com. | |
| DescendantIterator | back to summary |
|---|---|
| pack-priv DescendantIterator(Compiler compiler, int opPos, int analysis) throws TransformerException Create a DescendantIterator object.
| |
| DescendantIterator | back to summary |
|---|---|
| public DescendantIterator() Create a DescendantIterator 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!
| |
| cloneWithReset | back to summary |
|---|---|
| public DTMIterator cloneWithReset() throws CloneNotSupportedException Overrides com. Implements com. Get a cloned Iterator that is reset to the beginning of the query.
| |
| deepEquals | back to summary |
|---|---|
| public boolean deepEquals(Expression expr) Overrides com. Doc from com. Compare this object with another object and see if they are equal, include the sub heararchy.
| |
| detach | back to summary |
|---|---|
| public void detach() Overrides com. Implements com. Detaches the iterator from the set which it iterated over, releasing
any computational resources and placing the iterator in the INVALID
state. After | |
| 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.
| |
| setRoot | back to summary |
|---|---|
| public void setRoot(int context, Object environment) Overrides com. Implements com. Initialize the context values for this expression after it is cloned.
| |