Class WalkingIteratorSorted
java.lang.Object
org.loboevolution.apache.xpath.Expression
org.loboevolution.apache.xpath.patterns.NodeTest
org.loboevolution.apache.xpath.axes.PredicatedNodeTest
org.loboevolution.apache.xpath.axes.LocPathIterator
org.loboevolution.apache.xpath.axes.WalkingIterator
org.loboevolution.apache.xpath.axes.WalkingIteratorSorted
- All Implemented Interfaces:
Cloneable,SourceLocator,DTMIterator,PathComponent,SubContextList,ExpressionNode,XPathVisitable
This class iterates over set of nodes that needs to be sorted.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanTrue if the nodes will be found in document order, and this can be determined statically.Fields inherited from class org.loboevolution.apache.xpath.axes.WalkingIterator
m_firstWalker, m_lastUsedWalkerFields inherited from class org.loboevolution.apache.xpath.axes.LocPathIterator
m_allowDetach, m_cdtm, m_clones, m_context, m_currentContextNode, m_execContext, m_lastFetched, m_length, m_posFields inherited from class org.loboevolution.apache.xpath.axes.PredicatedNodeTest
m_foundLast, m_lpi, m_predCount, m_proximityPositionsFields inherited from class org.loboevolution.apache.xpath.patterns.NodeTest
m_name, m_whatToShow, SCORE_NODETEST, SCORE_NONE, SCORE_NSWILD, SCORE_OTHER, SCORE_QNAME, SHOW_BYFUNCTION, WILDFields inherited from interface org.loboevolution.apache.xml.dtm.DTMIterator
FILTER_ACCEPT, FILTER_SKIP -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if all the nodes in the iteration well be returned in document order.Methods inherited from class org.loboevolution.apache.xpath.axes.WalkingIterator
callVisitors, clone, deepEquals, detach, getAnalysisBits, getLastUsedWalker, nextNode, reset, setLastUsedWalker, setRootMethods inherited from class org.loboevolution.apache.xpath.axes.LocPathIterator
allowDetachToRelease, asIterator, asNode, bool, cloneWithReset, execute, getAxis, getCurrentNode, getCurrentPos, getDTM, getDTMManager, getExpandEntityReferences, getIsTopLevel, getLastPos, getLength, getPrefixResolver, getRoot, getWhatToShow, getXPathContext, incrementCurrentPos, isFresh, item, previousNode, returnNextNode, runTo, setCurrentPos, setIsTopLevel, setShouldCacheNodesMethods inherited from class org.loboevolution.apache.xpath.axes.PredicatedNodeTest
acceptNode, callPredicateVisitors, canTraverseOutsideSubtree, countProximityPosition, getPredicate, getPredicateCount, getProximityPosition, getProximityPosition, getProximityPosition, initPredicateInfo, initProximityPosition, isReverseAxes, nodeToString, resetProximityPositions, setLocPathIterator, setPredicateCountMethods inherited from class org.loboevolution.apache.xpath.patterns.NodeTest
calcScore, execute, execute, getLocalName, getNamespace, getNodeTypeTest, getStaticScore, initNodeTest, initNodeTest, setLocalName, setNamespace, setStaticScore, setWhatToShowMethods inherited from class org.loboevolution.apache.xpath.Expression
assertion, error, execute, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isSameClass, isStableNumber, num
-
Field Details
-
m_inNaturalOrderStatic
protected final boolean m_inNaturalOrderStaticTrue if the nodes will be found in document order, and this can be determined statically.- See Also:
-
-
Method Details
-
isDocOrdered
public boolean isDocOrdered()Returns true if all the nodes in the iteration well be returned in document order.- Specified by:
isDocOrderedin interfaceDTMIterator- Overrides:
isDocOrderedin classLocPathIterator- Returns:
- true if all the nodes in the iteration well be returned in document order.
-