Package org.htmlunit.xpath.operations
Class Gt
- java.lang.Object
-
- org.htmlunit.xpath.Expression
-
- org.htmlunit.xpath.operations.Operation
-
- org.htmlunit.xpath.operations.Gt
-
- All Implemented Interfaces:
javax.xml.transform.SourceLocator
,ExpressionNode
,XPathVisitable
public class Gt extends Operation
The '>' operation expression executor.
-
-
Constructor Summary
Constructors Constructor Description Gt()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XObject
operate(XObject left, XObject right)
Apply the operation to two operands, and return the result.-
Methods inherited from class org.htmlunit.xpath.operations.Operation
callVisitors, canTraverseOutsideSubtree, deepEquals, execute, setLeftRight
-
Methods inherited from class org.htmlunit.xpath.Expression
asIterator, asNode, assertion, bool, error, execute, execute, execute, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isSameClass, isStableNumber, num
-
-
-
-
Method Detail
-
operate
public XObject operate(XObject left, XObject right) throws javax.xml.transform.TransformerException
Apply the operation to two operands, and return the result.- Overrides:
operate
in classOperation
- Parameters:
left
- non-null reference to the evaluated left operand.right
- non-null reference to the evaluated right operand.- Returns:
- non-null reference to the XObject that represents the result of the operation.
- Throws:
javax.xml.transform.TransformerException
- in case of error
-
-