Modifier and Type | Class and Description |
---|---|
pack-priv class |
Modifier and Type | Field and Description |
---|---|
private boolean | |
private Expression | m_expr
The contained expression. |
private transient XNodeSet | m_exprObj
The result of executing m_expr. |
private boolean | |
pack-priv static final long |
Access | Constructor and Description |
---|---|
public | |
public |
Modifier and Type | Method and Description |
---|---|
public void | callPredicateVisitors(XPathVisitor
The visitor whose appropriate method will be called. visitor)Overrides com. This will traverse the heararchy, calling the visitor for each member. |
public boolean | deepEquals(Expression
Another expression object. expr)Overrides com. Compare this object with another object and see if they are equal, include the sub heararchy. |
public void | detach()
Overrides com. Implements com. Detaches the walker from the set which it iterated over, releasing any computational resources and placing the iterator in the INVALID state. |
public static XNodeSet | executeFilterExpr(int context, XPathContext xctxt, PrefixResolver prefixResolver, boolean isTopLevel, int stackFrame, Expression expr)
Execute the expression. |
public void | fixupVariables(List<QName>
List of QNames that correspond to variables. This list
should be searched backwards for the first qualified name that
corresponds to the variable reference qname. The position of the
QName in the vector from the start of the vector will be its position
in the stack frame (but variables above the globalsTop value will need
to be offset to the current stack frame). vars, int globalsSize)Overrides com. This function is used to fixup variables from QNames to stack frame indexes at stylesheet build time. |
public int | Returns: One of WalkerFactory#BIT_DESCENDANT, etc.Overrides com. Implements com. Get the analysis bits for this walker, as defined in the WalkerFactory. |
public int | Returns: Axis.CHILD, etc., or -1 if the axis is not known or is of multiple types.Overrides com. Implements com. Returns the axis being iterated, if it is known. |
public Expression | |
public boolean | Returns: true as a default.Overrides com. Implements com. Returns true if all the nodes in the iteration well be returned in document order. |
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 | |
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. |
m_canDetachNodeset | back to summary |
---|---|
private boolean m_canDetachNodeset |
m_expr | back to summary |
---|---|
private Expression m_expr The contained expression. Should be non-null. |
m_exprObj | back to summary |
---|---|
private transient XNodeSet m_exprObj The result of executing m_expr. Needs to be deep cloned on clone op. |
m_mustHardReset | back to summary |
---|---|
private boolean m_mustHardReset |
serialVersionUID | back to summary |
---|---|
pack-priv static final long serialVersionUID Hides com. |
FilterExprIteratorSimple | back to summary |
---|---|
public FilterExprIteratorSimple() Create a FilterExprIteratorSimple object. |
FilterExprIteratorSimple | back to summary |
---|---|
public FilterExprIteratorSimple(Expression expr) Create a FilterExprIteratorSimple object. |
callPredicateVisitors | back to summary |
---|---|
public void callPredicateVisitors(XPathVisitor visitor) Overrides com. This will traverse the heararchy, calling the visitor for each member. If the called visitor method returns false, the subtree should not be called.
|
deepEquals | back to summary |
---|---|
public boolean deepEquals(Expression expr) Overrides com. Doc from com. Compare this object with another object and see if they are equal, include the sub heararchy.
|
detach | back to summary |
---|---|
public void detach() Overrides com. Implements com. Detaches the walker from the set which it iterated over, releasing any computational resources and placing the iterator in the INVALID state. |
executeFilterExpr | back to summary |
---|---|
public static XNodeSet executeFilterExpr(int context, XPathContext xctxt, PrefixResolver prefixResolver, boolean isTopLevel, int stackFrame, Expression expr) throws WrappedRuntimeException Execute the expression. Meant for reuse by other FilterExpr iterators that are not derived from this object. |
fixupVariables | back to summary |
---|---|
public void fixupVariables(List<QName> vars, int globalsSize) Overrides com. This function is used to fixup variables from QNames to stack frame indexes at stylesheet build time.
|
getAnalysisBits | back to summary |
---|---|
public int getAnalysisBits() Overrides com. Implements com. Get the analysis bits for this walker, as defined in the WalkerFactory.
|
getAxis | back to summary |
---|---|
public int getAxis() Overrides com. Implements com. Returns the axis being iterated, if it is known.
|
getInnerExpression | back to summary |
---|---|
public Expression getInnerExpression() Get the inner contained expression of this filter. |
isDocOrdered | back to summary |
---|---|
public boolean isDocOrdered() Overrides com. Implements com. Returns true if all the nodes in the iteration well be returned in document order. Warning This can only be called after setRoot has been called!
|
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.
|
setInnerExpression | back to summary |
---|---|
public void setInnerExpression(Expression expr) Set the inner contained expression of this filter. |
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.
|
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public Expression | getExpression()
Implements com. Get the raw Expression object that this class wraps. |
public void | setExpression(Expression
the raw Expression object, which should not normally be null. exp)Implements com. Set the raw expression object for this object. |
filterExprOwner | back to summary |
---|---|
pack-priv filterExprOwner() |
getExpression | back to summary |
---|---|
public Expression getExpression() Implements com. Doc from com. Get the raw Expression object that this class wraps.
|
setExpression | back to summary |
---|---|
public void setExpression(Expression exp) Implements com. Doc from com. Set the raw expression object for this object.
|