| Modifier and Type | Field and Description |
|---|---|
| protected Expression | m_right
The operand for the operation. |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | callVisitors(ExpressionOwner owner, XPathVisitor 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 expr)
Implements abstract com. Compare this object with another object and see if they are equal, include the sub heararchy. |
| public XObject | Returns: An XObject that represents the result of applying the unary operation to the evaluated operand.The runtime execution context. xctxt)Implements abstract com. Execute the operand and apply the unary operation to the result. |
| 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 abstract XObject | |
| public void | setExpression(Expression exp)
Implements com. Set the raw expression object for this object. |
| public void | setRight(Expression
The expression operand to which the unary operation will be
applied. r)Set the expression operand for the operation. |
| m_right | back to summary |
|---|---|
| protected Expression m_right The operand for the operation. | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID Hides com. | |
| UnaryOperation | back to summary |
|---|---|
| public UnaryOperation() | |
| 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 the operand and apply the unary operation to the result.
| |
| 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.
| |
| getOperand | back to summary |
|---|---|
public Expression getOperand()
| |
| operate | back to summary |
|---|---|
| public abstract XObject operate(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. | |
| setRight | back to summary |
|---|---|
| public void setRight(Expression r) Set the expression operand for the operation.
| |