org.jaxen.expr

Class DefaultOrExpr

Implemented Interfaces:
BinaryExpr, Expr, LogicalExpr, Serializable, Visitable

(package private) class DefaultOrExpr
extends DefaultLogicalExpr

Field Summary

private static long
serialVersionUID

Fields inherited from class org.jaxen.expr.DefaultBinaryExpr

lhs, rhs

Constructor Summary

DefaultOrExpr(Expr lhs, Expr rhs)

Method Summary

void
accept(Visitor visitor)
Object
evaluate(Context context)
String
getOperator()
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:
4894552680753026730L

Constructor Details

DefaultOrExpr

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

Method Details

accept

public void accept(Visitor visitor)
Specified by:
accept in interface Visitable

evaluate

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

getOperator

public String getOperator()
Specified by:
getOperator in interface LogicalExpr
Overrides:
getOperator in interface DefaultBinaryExpr

toString

public String toString()
Overrides:
toString in interface DefaultTruthExpr