org.jaxen.expr

Class DefaultDivExpr

Implemented Interfaces:
BinaryExpr, Expr, MultiplicativeExpr, Serializable

(package private) class DefaultDivExpr
extends DefaultMultiplicativeExpr

Field Summary

private static long
serialVersionUID

Fields inherited from class org.jaxen.expr.DefaultBinaryExpr

lhs, rhs

Constructor Summary

DefaultDivExpr(Expr lhs, Expr rhs)

Method Summary

Object
evaluate(Context context)
String
getOperator()
Returns the operator for the binary expression such as "+" or "div".

Methods inherited from class org.jaxen.expr.DefaultMultiplicativeExpr

toString

Methods inherited from class org.jaxen.expr.DefaultArithExpr

toString

Methods inherited from class org.jaxen.expr.DefaultBinaryExpr

getLHS, getOperator, getRHS, getText, setLHS, setRHS, simplify, toString

Methods inherited from class org.jaxen.expr.DefaultExpr

convertToIterator, convertToList, simplify

Field Details

serialVersionUID

private static final long serialVersionUID
Field Value:
6318739386201615441L

Constructor Details

DefaultDivExpr

(package private)  DefaultDivExpr(Expr lhs,
                                  Expr rhs)

Method Details

evaluate

public Object evaluate(Context context)
            throws JaxenException
Specified by:
evaluate in interface Expr

getOperator

public String getOperator()
Returns the operator for the binary expression such as "+" or "div".
Specified by:
getOperator in interface BinaryExpr
Overrides:
getOperator in interface DefaultBinaryExpr
Returns:
the operator for the expression