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, SUPPORTS_PRE_STRIPPING, WILDFILTER_ACCEPT, FILTER_REJECT, FILTER_SKIP| Modifier | Constructor and Description |
|---|---|
protected |
BasicTestIterator()
Create a LocPathIterator object.
|
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(Compiler compiler,
int opPos,
int analysis,
boolean shouldLoadWalkers)
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 beginning
of the query.
|
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, executeCharsToContentHandler, getAnalysisBits, getAxis, getContext, getCurrentContextNode, getCurrentNode, getCurrentPos, getDTM, getDTMManager, getExpandEntityReferences, getFilter, getFoundLast, getIsTopLevel, getLastPos, getLength, getPrefixResolver, getRoot, getWhatToShow, getXPathContext, incrementCurrentPos, isDocOrdered, isFresh, isMutable, isNodesetExpr, item, previousNode, reset, returnNextNode, runTo, setCurrentContextNode, setCurrentPos, setEnvironment, setIsTopLevel, setItem, setNextPosition, setRoot, setShouldCacheNodes, sizeacceptNode, callPredicateVisitors, canTraverseOutsideSubtree, clone, countProximityPosition, deepEquals, fixupVariables, getLocPathIterator, getPredicate, getPredicateCount, getPredicateIndex, getProximityPosition, getProximityPosition, getProximityPosition, initPredicateInfo, initProximityPosition, isReverseAxes, nodeToString, resetProximityPositions, setLocPathIterator, setPredicateCountcalcScore, debugWhatToShow, execute, execute, getDefaultScore, getLocalName, getNamespace, getNodeTypeTest, getStaticScore, initNodeTest, initNodeTest, setLocalName, setNamespace, setStaticScore, setWhatToShowasIteratorRaw, assertion, error, execute, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isSameClass, isStableNumber, num, warn, xstrequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloneprotected BasicTestIterator()
nscontext - The namespace context for this iterator,
should be OK if null.protected 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.TransformerExceptionprotected BasicTestIterator(Compiler compiler, int opPos, int analysis, boolean shouldLoadWalkers) throws TransformerException
compiler - The Compiler which is creating
this expression.opPos - The position of this iterator in the
opcode list from the compiler.shouldLoadWalkers - True if walkers should be
loaded, or false if this is a derived iterator and
it doesn't wish to load child walkers.TransformerExceptionprotected abstract int getNextNode()
public int nextNode()
nextNode in interface DTMIteratornextNode in class LocPathIteratorNode in the set being iterated over, or
null if there are no more members in that set.public DTMIterator cloneWithReset() throws CloneNotSupportedException
cloneWithReset in interface DTMIteratorcloneWithReset in class LocPathIteratorCloneNotSupportedExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.