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
Modifier and TypeFieldDescriptionprotected final boolean
True 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_lastUsedWalker
Fields 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_pos
Fields inherited from class org.loboevolution.apache.xpath.axes.PredicatedNodeTest
m_foundLast, m_lpi, m_predCount, m_proximityPositions
Fields 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, WILD
Fields inherited from interface org.loboevolution.apache.xml.dtm.DTMIterator
FILTER_ACCEPT, FILTER_SKIP
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns 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, setRoot
Methods 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, setShouldCacheNodes
Methods inherited from class org.loboevolution.apache.xpath.axes.PredicatedNodeTest
acceptNode, callPredicateVisitors, canTraverseOutsideSubtree, countProximityPosition, getPredicate, getPredicateCount, getProximityPosition, getProximityPosition, getProximityPosition, initPredicateInfo, initProximityPosition, isReverseAxes, nodeToString, resetProximityPositions, setLocPathIterator, setPredicateCount
Methods inherited from class org.loboevolution.apache.xpath.patterns.NodeTest
calcScore, execute, execute, getLocalName, getNamespace, getNodeTypeTest, getStaticScore, initNodeTest, initNodeTest, setLocalName, setNamespace, setStaticScore, setWhatToShow
Methods 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:
isDocOrdered
in interfaceDTMIterator
- Overrides:
isDocOrdered
in classLocPathIterator
- Returns:
- true if all the nodes in the iteration well be returned in document order.
-