jd.xml.xpath.expr.operator
Class Or

java.lang.Object
  extended byjd.xml.xpath.expr.ExpressionImpl
      extended byjd.xml.xpath.expr.BooleanExpression
          extended byjd.xml.xpath.expr.operator.BooleanOperator
              extended byjd.xml.xpath.expr.operator.Or
All Implemented Interfaces:
Expression, Operator

public class Or
extends BooleanOperator

Or represents the 'or' expression.


Field Summary
 
Fields inherited from class jd.xml.xpath.expr.operator.BooleanOperator
lhs_, rhs_
 
Fields inherited from interface jd.xml.xpath.expr.Expression
DEP_CONTEXT_NODE, DEP_CONTEXT_POSITION, DEP_CONTEXT_SIZE, DEP_CONTEXT_STATIC, DEP_NONE, DEP_UNKNOWN
 
Constructor Summary
Or(Expression lhs, Expression rhs)
           
 
Method Summary
 void accept(ExpressionVisitor visitor)
          Accept a ExpressionVisitor.
 boolean toBooleanValue(XPathContext context)
          Evaluate the expression.
 
Methods inherited from class jd.xml.xpath.expr.operator.BooleanOperator
getContextDependencies
 
Methods inherited from class jd.xml.xpath.expr.BooleanExpression
getResultType, toNumberValue, toStringValue, toXObject
 
Methods inherited from class jd.xml.xpath.expr.ExpressionImpl
hasContextDependencies, isUniqueFilter, matchesFilter, toNode, toNodeSet, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jd.xml.xpath.expr.Expression
getResultType, hasContextDependencies, isUniqueFilter, matchesFilter, toNode, toNodeSet, toNumberValue, toString, toStringValue, toXObject
 

Constructor Detail

Or

public Or(Expression lhs,
          Expression rhs)
Method Detail

toBooleanValue

public boolean toBooleanValue(XPathContext context)
Evaluate the expression.

Specified by:
toBooleanValue in interface Expression
Specified by:
toBooleanValue in class BooleanExpression

accept

public void accept(ExpressionVisitor visitor)
Description copied from interface: Expression
Accept a ExpressionVisitor.