Modifier and Type | Class and Description |
---|---|
pack-priv class |
Modifier and Type | Field and Description |
---|---|
protected Expression | m_left
The left operand expression. |
protected Expression | m_right
The right operand expression. |
pack-priv static final long |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public void | callVisitors(ExpressionOwner
The owner of the visitor, where that path may be
rewritten if needed. owner, XPathVisitor The visitor whose appropriate method will be called. visitor)Implements com. This will traverse the heararchy, calling the visitor for each member. |
public boolean | Returns: true if traversal outside the context node's subtree can occur.Overrides com. Tell if this expression or it's subexpressions can traverse outside the current subtree. |
public boolean | deepEquals(Expression
Another expression object. expr)Implements abstract com. Compare this object with another object and see if they are equal, include the sub heararchy. |
public XObject | Returns: The XObject result of the operation.The runtime execution context. xctxt)Implements abstract com. Execute a binary operation by calling execute on each of the operands, and then calling the operate method on the derived class. |
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)Implements abstract com. This function is used to fixup variables from QNames to stack frame indexes at stylesheet build time. |
public Expression | getExpression()
Implements com. Get the raw Expression object that this class wraps. |
public Expression | |
public Expression | |
public XObject | |
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. |
public void | setLeftRight(Expression
The left expression operand. l, Expression The right expression operand. r)Set the left and right operand expressions for this operation. |
m_left | back to summary |
---|---|
protected Expression m_left The left operand expression. |
m_right | back to summary |
---|---|
protected Expression m_right The right operand expression. |
serialVersionUID | back to summary |
---|---|
pack-priv static final long serialVersionUID Hides com. |
Operation | back to summary |
---|---|
public Operation() |
callVisitors | back to summary |
---|---|
public void callVisitors(ExpressionOwner owner, XPathVisitor visitor) Implements com. Doc from 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.
|
canTraverseOutsideSubtree | back to summary |
---|---|
public boolean canTraverseOutsideSubtree() Overrides com. Tell if this expression or it's subexpressions can traverse outside the current subtree.
|
deepEquals | back to summary |
---|---|
public boolean deepEquals(Expression expr) Implements abstract com. Doc from com. Compare this object with another object and see if they are equal, include the sub heararchy.
|
execute | back to summary |
---|---|
public XObject execute(XPathContext xctxt) throws TransformerException Implements abstract com. Execute a binary operation by calling execute on each of the operands, and then calling the operate method on the derived class.
|
fixupVariables | back to summary |
---|---|
public void fixupVariables(List<QName> vars, int globalsSize) Implements abstract com. This function is used to fixup variables from QNames to stack frame indexes at stylesheet build time.
|
getExpression | back to summary |
---|---|
public Expression getExpression() Implements com. Doc from com. Get the raw Expression object that this class wraps.
|
getLeftOperand | back to summary |
---|---|
public Expression getLeftOperand()
|
getRightOperand | back to summary |
---|---|
public Expression getRightOperand()
|
operate | back to summary |
---|---|
public XObject operate(XObject left, XObject right) throws TransformerException Apply the operation to two operands, and return the result. |
setExpression | back to summary |
---|---|
public void setExpression(Expression exp) Implements com. Doc from com. Set the raw expression object for this object.
|
setLeftRight | back to summary |
---|---|
public void setLeftRight(Expression l, Expression r) Set the left and right operand expressions for this operation.
|
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. |
LeftExprOwner | back to summary |
---|---|
pack-priv LeftExprOwner() |
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.
|