xacute.quilt
Class ValueBool

java.lang.Object
  |
  +--xacute.quilt.QuiltExpression
        |
        +--xacute.quilt.ValueCompared
              |
              +--xacute.quilt.ValueBool
All Implemented Interfaces:
PPrintable, Value

public class ValueBool
extends ValueCompared


Constructor Summary
ValueBool(boolean b)
          The unique constructor of this class.
 
Method Summary
 boolean compare(int op, ValueBool b, EvalContext con)
           
 boolean compare(int op, ValueNode n, EvalContext con)
           
 boolean compare(int op, ValueNodeList nl, EvalContext con)
           
 boolean compare(int op, ValueNum n, EvalContext con)
           
 boolean compare(int op, ValueString s, EvalContext con)
           
 Value filter(QuiltExpression[] filters, EvalContext con)
           
 java.lang.String printResult()
           
 boolean toBool(EvalContext con)
          Accessor to the boolean value.
 float toNum(EvalContext con)
           
 void toSAX(org.xml.sax.DocumentHandler handler)
           
 java.lang.String toString(EvalContext con)
           
 
Methods inherited from class xacute.quilt.ValueCompared
compare, isNodeValue, toNode, toNodeList
 
Methods inherited from class xacute.quilt.QuiltExpression
isTrue, pprint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueBool

public ValueBool(boolean b)
The unique constructor of this class.
Method Detail

toSAX

public void toSAX(org.xml.sax.DocumentHandler handler)
           throws org.xml.sax.SAXException

toBool

public boolean toBool(EvalContext con)
Accessor to the boolean value.

toString

public java.lang.String toString(EvalContext con)
Overrides:
toString in class ValueCompared

toNum

public float toNum(EvalContext con)

printResult

public java.lang.String printResult()

filter

public Value filter(QuiltExpression[] filters,
                    EvalContext con)
             throws QuiltException

compare

public boolean compare(int op,
                       ValueBool b,
                       EvalContext con)
                throws QuiltException

compare

public boolean compare(int op,
                       ValueNum n,
                       EvalContext con)
                throws QuiltException

compare

public boolean compare(int op,
                       ValueString s,
                       EvalContext con)
                throws QuiltException

compare

public boolean compare(int op,
                       ValueNode n,
                       EvalContext con)
                throws QuiltException

compare

public boolean compare(int op,
                       ValueNodeList nl,
                       EvalContext con)
                throws QuiltException