public class UnionChildIterator extends ChildTestIterator
m_traverserm_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| Constructor and Description |
|---|
UnionChildIterator()
Constructor for UnionChildIterator
|
| Modifier and Type | Method and Description |
|---|---|
short |
acceptNode(int n)
Test whether a specified node is visible in the logical view of a TreeWalker or NodeIterator.
|
void |
addNodeTest(PredicatedNodeTest test)
Add a node test to the union list.
|
cloneWithReset, detach, getAxis, getNextNode, setRootnextNodeasIterator, asNode, bool, callVisitors, execute, getAnalysisBits, getCurrentNode, getCurrentPos, getDTM, getDTMManager, getExpandEntityReferences, getIsTopLevel, getLastPos, getLength, getPrefixResolver, getRoot, getWhatToShow, getXPathContext, incrementCurrentPos, isDocOrdered, isFresh, item, previousNode, reset, returnNextNode, runTo, setCurrentPos, setIsTopLevel, setShouldCacheNodescallPredicateVisitors, 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, waitclonepublic UnionChildIterator()
public void addNodeTest(PredicatedNodeTest test)
test - reference to a NodeTest, which will be added directly to the list of node tests (in
other words, it will not be cloned). The parent of this test will be set to this object.public short acceptNode(int n)
acceptNode in class PredicatedNodeTestn - The node to check to see if it passes the filter or not.Copyright © 2022–2025 HtmlUnit. All rights reserved.