Modifier and Type | Field and Description |
---|---|
private static final boolean | DEBUG
DEBUG flag for diagnostic dumps. |
protected StepPattern | m_pattern
This is the select pattern, translated into a match pattern. |
protected int | m_superAxis
The traversal axis from where the nodes will be filtered. |
protected DTMAxisTraverser | m_traverser
The DTM inner traversal class, that corresponds to the super axis. |
pack-priv static final long |
Access | Constructor and Description |
---|---|
pack-priv | MatchPatternIterator(Compiler
The Compiler which is creating
this expression. compiler, int The position of this iterator in the
opcode list from the compiler. opPos, int Analysis bits that give general information about the
LocationPath. analysis)Create a LocPathIterator object, including creation of step walkers from the opcode list, and call back into the Compiler to create predicate expressions. |
Modifier and Type | Method and Description |
---|---|
public short | Returns: a constant to determine whether the node is accepted, rejected, or skipped, as defined above .The node to check to see if it passes the filter or not. n, XPathContext xctxt)Test whether a specified node is visible in the logical view of a TreeWalker or NodeIterator. |
public void | detach()
Overrides com. Implements com. Detaches the iterator from the set which it iterated over, releasing any computational resources and placing the iterator in the INVALID state. |
protected int | |
public int | Returns: The nextNode in the set being iterated over, or
null if there are no more members in that set.Implements abstract com. Implements com. Returns the next node in the set and advances the position of the iterator in the set. |
public void | setRoot(int
The XPath runtime context for this
transformation. context, Object The environment object.
The environment in which this iterator operates, which should provide:
environment)
At this time the exact implementation of this environment is application dependent. Probably a proper interface will be created fairly soon. Overrides com. Implements com. Initialize the context values for this expression after it is cloned. |
DEBUG | back to summary |
---|---|
private static final boolean DEBUG DEBUG flag for diagnostic dumps. |
m_pattern | back to summary |
---|---|
protected StepPattern m_pattern This is the select pattern, translated into a match pattern. |
m_superAxis | back to summary |
---|---|
protected int m_superAxis The traversal axis from where the nodes will be filtered. |
m_traverser | back to summary |
---|---|
protected DTMAxisTraverser m_traverser The DTM inner traversal class, that corresponds to the super axis.
|
serialVersionUID | back to summary |
---|---|
pack-priv static final long serialVersionUID Hides com. |
MatchPatternIterator | back to summary |
---|---|
pack-priv MatchPatternIterator(Compiler compiler, int opPos, int analysis) throws TransformerException Create a LocPathIterator object, including creation of step walkers from the opcode list, and call back into the Compiler to create predicate expressions.
|
acceptNode | back to summary |
---|---|
public short acceptNode(int n, XPathContext xctxt) Test whether a specified node is visible in the logical view of a TreeWalker or NodeIterator. This function will be called by the implementation of TreeWalker and NodeIterator; it is not intended to be called directly from user code.
|
detach | back to summary |
---|---|
public void detach() Overrides com. Implements com. Detaches the iterator from the set which it iterated over, releasing
any computational resources and placing the iterator in the INVALID
state. After |
getNextNode | back to summary |
---|---|
protected int getNextNode() Get the next node via getNextXXX. Bottlenecked for derived class override.
|
nextNode | back to summary |
---|---|
public int nextNode() Implements abstract com. Implements com. Returns the next node in the set and advances the position of the iterator in the set. After a NodeIterator is created, the first call to nextNode() returns the first node in the set.
|
setRoot | back to summary |
---|---|
public void setRoot(int context, Object environment) Overrides com. Implements com. Initialize the context values for this expression after it is cloned.
|