public abstract class BasicTestIterator extends LocPathIterator
m_allowDetach, m_cdtm, m_clones, m_context, m_currentContextNode, m_execContext, m_lastFetched, m_length, m_posm_foundLast, m_lpi, m_predCount, m_proximityPositionsm_name, m_whatToShow, SCORE_NODETEST, SCORE_NONE, SCORE_NSWILD, SCORE_OTHER, SCORE_QNAME, SHOW_BYFUNCTION, WILDFILTER_ACCEPT, FILTER_SKIP| Modifier | Constructor and Description |
|---|---|
protected |
BasicTestIterator(Compiler compiler,
int 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(PrefixResolver nscontext)
Create a LocPathIterator object.
|
| Modifier and Type | Method and Description |
|---|---|
DTMIterator |
cloneWithReset()
Get a cloned Iterator that is reset to the start of the iteration.
|
protected abstract int |
getNextNode()
Get the next node via getNextXXX.
|
int |
nextNode()
Returns the next node in the set and advances the position of the iterator in the set.
|
allowDetachToRelease, asIterator, asNode, bool, callVisitors, detach, execute, getAnalysisBits, getAxis, getCurrentNode, getCurrentPos, getDTM, getDTMManager, getExpandEntityReferences, getIsTopLevel, getLastPos, getLength, getPrefixResolver, getRoot, getWhatToShow, getXPathContext, incrementCurrentPos, isDocOrdered, isFresh, item, previousNode, reset, returnNextNode, runTo, setCurrentPos, setIsTopLevel, setRoot, setShouldCacheNodesacceptNode, callPredicateVisitors, canTraverseOutsideSubtree, clone, countProximityPosition, deepEquals, getPredicate, getPredicateCount, getProximityPosition, getProximityPosition, getProximityPosition, initPredicateInfo, initProximityPosition, isReverseAxes, nodeToString, resetProximityPositions, setLocPathIterator, setPredicateCountcalcScore, execute, execute, getLocalName, getNamespace, getNodeTypeTest, getStaticScore, initNodeTest, initNodeTest, setLocalName, setNamespace, setStaticScore, setWhatToShowassertion, error, execute, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isSameClass, isStableNumber, numequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloneprotected BasicTestIterator(PrefixResolver nscontext)
nscontext - The namespace context for this iterator, should be OK if null.protected BasicTestIterator(Compiler compiler, int opPos, int analysis) throws TransformerException
compiler - The Compiler which is creating this expression.opPos - The position of this iterator in the opcode list from the compiler.TransformerException - if anyprotected abstract int getNextNode()
public int nextNode()
DTMIterator has setRoot called, the first call to nextNode() returns
that root or (if it is rejected by the filters) the first node within its subtree which is not
filtered out.nextNode in interface DTMIteratornextNode in class LocPathIteratorDTM.NULL if there
are no more members in that set.public DTMIterator cloneWithReset() throws CloneNotSupportedException
cloneWithReset in interface DTMIteratorcloneWithReset in class LocPathIteratorCloneNotSupportedException - if anyCopyright © 2022–2023. All rights reserved.