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 | SelfIteratorNoPredicate(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. analysis)Create a SelfIteratorNoPredicate 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 int | Returns: the index of the last node that can be itterated to.XPath runtime context. xctxt)Overrides com. Implements com. Get the index of the last node that can be itterated to. |
| 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. | |
| SelfIteratorNoPredicate | back to summary |
|---|---|
| pack-priv SelfIteratorNoPredicate(Compiler compiler, int opPos, int analysis) throws TransformerException Create a SelfIteratorNoPredicate object.
| |
| SelfIteratorNoPredicate | back to summary |
|---|---|
| public SelfIteratorNoPredicate() throws TransformerException Create a SelfIteratorNoPredicate 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. Derived classes should try and override this and return a value without having to do a clone operation.
| |
| getLastPos | back to summary |
|---|---|
| public int getLastPos(XPathContext xctxt) Overrides com. Implements com. Get the index of the last node that can be itterated to. This probably will need to be overridded by derived classes.
| |
| 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.
| |