org.oXML.xpath.step
Class BooleanExpression

java.lang.Object
  extended byorg.oXML.xpath.step.BooleanExpression
All Implemented Interfaces:
Expression

public class BooleanExpression
extends java.lang.Object
implements Expression


Field Summary
static int AND
           
static int NOT
           
static int OR
           
 
Fields inherited from interface org.oXML.xpath.Expression
OUTPUT_NS
 
Constructor Summary
BooleanExpression(Expression lhs)
           
BooleanExpression(Expression lhs, Expression rhs, int operation)
           
 
Method Summary
 void bind(Resolver ctxt)
           
 Node evaluate(RuntimeContext ctxt)
           
 java.lang.String getOperation()
           
 int operation()
           
 java.lang.String toString()
           
 void write(org.xml.sax.ContentHandler handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AND

public static final int AND
See Also:
Constant Field Values

OR

public static final int OR
See Also:
Constant Field Values

NOT

public static final int NOT
See Also:
Constant Field Values
Constructor Detail

BooleanExpression

public BooleanExpression(Expression lhs,
                         Expression rhs,
                         int operation)

BooleanExpression

public BooleanExpression(Expression lhs)
Method Detail

bind

public void bind(Resolver ctxt)
          throws ObjectBoxException
Specified by:
bind in interface Expression
Throws:
ObjectBoxException

operation

public int operation()

getOperation

public java.lang.String getOperation()

evaluate

public Node evaluate(RuntimeContext ctxt)
              throws ObjectBoxException
Specified by:
evaluate in interface Expression
Throws:
ObjectBoxException

toString

public java.lang.String toString()

write

public void write(org.xml.sax.ContentHandler handler)
           throws org.xml.sax.SAXException
Specified by:
write in interface Expression
Throws:
org.xml.sax.SAXException