| Modifier and Type | Field and Description |
|---|---|
| protected boolean | m_inNaturalOrderStatic
True if the nodes will be found in document order, and this can be determined statically. |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | WalkingIteratorSorted(PrefixResolver
The namespace context for this iterator,
should be OK if null. nscontext)Create a WalkingIteratorSorted object. |
| pack-priv | WalkingIteratorSorted(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 WalkingIterator iterator, 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 |
|---|---|
| pack-priv boolean | Returns: true if the nodeset can be walked in doc order, without sorting.Tell if the nodeset can be walked in doc order, via static analysis. |
| public void | fixupVariables(List<QName>
List of QNames that correspond to variables. This list
should be searched backwards for the first qualified name that
corresponds to the variable reference qname. The position of the
QName in the vector from the start of the vector will be its position
in the stack frame (but variables above the globalsTop value will need
to be offset to the current stack frame). vars, int globalsSize)Overrides com. This function is used to perform some extra analysis of the iterator. |
| public boolean | Returns: true as a default.Overrides com. Implements com. Returns true if all the nodes in the iteration well be returned in document order. |
| m_inNaturalOrderStatic | back to summary |
|---|---|
| protected boolean m_inNaturalOrderStatic True if the nodes will be found in document order, and this can be determined statically. | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID Hides com. | |
| WalkingIteratorSorted | back to summary |
|---|---|
| public WalkingIteratorSorted(PrefixResolver nscontext) Create a WalkingIteratorSorted object.
| |
| WalkingIteratorSorted | back to summary |
|---|---|
| pack-priv WalkingIteratorSorted(Compiler compiler, int opPos, int analysis, boolean shouldLoadWalkers) throws TransformerException Create a WalkingIterator iterator, including creation of step walkers from the opcode list, and call back into the Compiler to create predicate expressions.
| |
| canBeWalkedInNaturalDocOrderStatic | back to summary |
|---|---|
| pack-priv boolean canBeWalkedInNaturalDocOrderStatic() Tell if the nodeset can be walked in doc order, via static analysis.
| |
| fixupVariables | back to summary |
|---|---|
| public void fixupVariables(List<QName> vars, int globalsSize) Overrides com. This function is used to perform some extra analysis of the iterator.
| |
| isDocOrdered | back to summary |
|---|---|
| public boolean isDocOrdered() Overrides com. Implements com. Returns true if all the nodes in the iteration well be returned in document order.
| |