APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xpath.internal.operations

public Class Equals

extends Operation
Class Inheritance
Imports
com.sun.org.apache.xpath.internal.XPathContext, com.sun.org.apache.xpath.internal.objects.XBoolean, .XObject

The '=' operation expression executer.

Field Summary

Modifier and TypeField and Description
pack-priv static final long
Inherited from com.sun.org.apache.xpath.internal.operations.Operation:
m_leftm_right

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

The XObject result of the operation.
bool
(XPathContext
The runtime execution context.
xctxt
)

Overrides com.sun.org.apache.xpath.internal.Expression.bool.

Execute a binary operation by calling execute on each of the operands, and then calling the operate method on the derived class.

public XObject

Returns:

non-null reference to the XObject that represents the result of the operation.
operate
(XObject
non-null reference to the evaluated left operand.
left
,
XObject
non-null reference to the evaluated right operand.
right
)

Overrides com.sun.org.apache.xpath.internal.operations.Operation.operate.

Apply the operation to two operands, and return the result.

Inherited from com.sun.org.apache.xpath.internal.operations.Operation:
callVisitorscanTraverseOutsideSubtreedeepEqualsexecutefixupVariablesgetExpressiongetLeftOperandgetRightOperandsetExpressionsetLeftRight

Field Detail

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides com.sun.org.apache.xpath.internal.operations.Operation.serialVersionUID.

Constructor Detail

Equalsback to summary
public Equals()

Method Detail

boolback to summary
public boolean bool(XPathContext xctxt) throws TransformerException

Overrides com.sun.org.apache.xpath.internal.Expression.bool.

Execute a binary operation by calling execute on each of the operands, and then calling the operate method on the derived class.

Parameters
xctxt:XPathContext

The runtime execution context.

Returns:boolean

The XObject result of the operation.

operateback to summary
public XObject operate(XObject left, XObject right) throws TransformerException

Overrides com.sun.org.apache.xpath.internal.operations.Operation.operate.

Apply the operation to two operands, and return the result.

Parameters
left:XObject

non-null reference to the evaluated left operand.

right:XObject

non-null reference to the evaluated right operand.

Returns:XObject

non-null reference to the XObject that represents the result of the operation.