org.jaxen.expr

Class DefaultAndExpr

Implemented Interfaces:
BinaryExpr, Expr, LogicalExpr, Serializable

(package private) class DefaultAndExpr
extends DefaultLogicalExpr

Field Summary

private static long
serialVersionUID

Fields inherited from class org.jaxen.expr.DefaultBinaryExpr

lhs, rhs

Constructor Summary

DefaultAndExpr(Expr lhs, Expr rhs)

Method Summary

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

Methods inherited from class org.jaxen.expr.DefaultTruthExpr

bothAreBoolean, bothAreSets, eitherIsBoolean, eitherIsNumber, eitherIsSet, isSet, setIsEmpty, 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:
-5237984010263103742L

Constructor Details

DefaultAndExpr

(package private)  DefaultAndExpr(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

toString

public String toString()
Overrides:
toString in interface DefaultTruthExpr