Modifier and Type | Field and Description |
---|---|
pack-priv static final long |
Access | Constructor and Description |
---|---|
protected | |
protected | BasicTestIterator(PrefixResolver
The namespace context for this iterator,
should be OK if null. nscontext)Create a LocPathIterator object. |
protected | BasicTestIterator(Compiler
The Compiler which is creating
this expression. compiler, int The position of this iterator in the
opcode list from the compiler. opPos, int analysis)Create a LocPathIterator object, including creation of step walkers from the opcode list, and call back into the Compiler to create predicate expressions. |
protected | BasicTestIterator(Compiler
The Compiler which is creating
this expression. compiler, int The position of this iterator in the
opcode list from the compiler. opPos, int analysis, boolean True if walkers should be
loaded, or false if this is a derived iterator and
it doesn't wish to load child walkers. shouldLoadWalkers)Create a LocPathIterator object, including creation of step walkers from the opcode list, and call back into the Compiler to create predicate expressions. |
Modifier and Type | Method and Description |
---|---|
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. |
protected abstract int | |
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. |
BasicTestIterator | back to summary |
---|---|
protected BasicTestIterator() Create a LocPathIterator object. |
BasicTestIterator | back to summary |
---|---|
protected BasicTestIterator(PrefixResolver nscontext) Create a LocPathIterator object.
|
BasicTestIterator | back to summary |
---|---|
protected BasicTestIterator(Compiler compiler, int opPos, int analysis) throws TransformerException Create a LocPathIterator object, including creation of step walkers from the opcode list, and call back into the Compiler to create predicate expressions.
|
BasicTestIterator | back to summary |
---|---|
protected BasicTestIterator(Compiler compiler, int opPos, int analysis, boolean shouldLoadWalkers) throws TransformerException Create a LocPathIterator object, including creation of step walkers from the opcode list, and call back into the Compiler to create predicate expressions.
|
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.
|
getNextNode | back to summary |
---|---|
protected abstract int getNextNode() Get the next node via getNextXXX. Bottlenecked for derived class override.
|
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.
|