org.jaxen.expr
Class DefaultUnionExpr

java.lang.Object
  |
  +--org.jaxen.expr.DefaultExpr
        |
        +--org.jaxen.expr.DefaultBinaryExpr
              |
              +--org.jaxen.expr.DefaultUnionExpr
All Implemented Interfaces:
BinaryExpr, Expr, Serializable, UnionExpr

public class DefaultUnionExpr
extends org.jaxen.expr.DefaultBinaryExpr
implements UnionExpr

See Also:
Serialized Form

Constructor Summary
DefaultUnionExpr(Expr lhs, Expr rhs)
           
 
Method Summary
 Object evaluate(Context context)
           
 Expr getLHS()
           
 String getOperator()
           
 Expr getRHS()
           
 String getText()
           
 void setLHS(Expr lhs)
           
 void setRHS(Expr rhs)
           
 Expr simplify()
           
 String toString()
           
 
Methods inherited from class org.jaxen.expr.DefaultExpr
convertToIterator, convertToList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jaxen.expr.BinaryExpr
getLHS, getRHS
 
Methods inherited from interface org.jaxen.expr.Expr
getText, simplify
 

Constructor Detail

DefaultUnionExpr

public DefaultUnionExpr(Expr lhs,
                        Expr rhs)
Method Detail

getOperator

public String getOperator()
Overrides:
getOperator in class org.jaxen.expr.DefaultBinaryExpr

toString

public String toString()
Overrides:
toString in class org.jaxen.expr.DefaultBinaryExpr

evaluate

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

getLHS

public Expr getLHS()
Specified by:
getLHS in interface BinaryExpr

getRHS

public Expr getRHS()
Specified by:
getRHS in interface BinaryExpr

setLHS

public void setLHS(Expr lhs)

setRHS

public void setRHS(Expr rhs)

getText

public String getText()
Specified by:
getText in interface Expr

simplify

public Expr simplify()
Specified by:
simplify in interface Expr
Overrides:
simplify in class DefaultExpr


Copyright © 2002 bob mcwhirter & James Strachan. All Rights Reserved. Hosted by

SourceForge Logo