org.jaxen.expr

Class DefaultUnionExpr

Implemented Interfaces:
BinaryExpr, Expr, Serializable, UnionExpr

public class DefaultUnionExpr
extends DefaultBinaryExpr
implements UnionExpr

Field Summary

private static long
serialVersionUID

Fields inherited from class org.jaxen.expr.DefaultBinaryExpr

lhs, rhs

Constructor Summary

DefaultUnionExpr(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.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:
7629142718276852707L

Constructor Details

DefaultUnionExpr

public DefaultUnionExpr(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 DefaultBinaryExpr