xacute.quilt
Class ValueNodeList

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

public class ValueNodeList
extends ValueCompared


Method Summary
 boolean compare(int op, ValueBool b, EvalContext con)
           
 boolean compare(int op, ValueNode n, EvalContext con)
           
 boolean compare(int op, ValueNodeList n, EvalContext con)
           
 boolean compare(int op, ValueNum f, EvalContext con)
           
 boolean compare(int op, ValueString s, EvalContext con)
           
 Value filter(QuiltExpression[] filters, EvalContext con)
           
 boolean isNodeValue()
          We add the environment in order to pass some info such as factories or special semantics.
 boolean toBool(EvalContext con)
          For the following methods, you can use env.getSemantics to identify which semantics you want to implement.
 Node toNode(EvalContext con)
           
 NodeList toNodeList(EvalContext con)
          This method implements the corresponding method in the interface xacute.quilt.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
 
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
 

Method Detail

isNodeValue

public boolean isNodeValue()
Description copied from interface: Value
We add the environment in order to pass some info such as factories or special semantics.
Overrides:
isNodeValue in class ValueCompared

toBool

public boolean toBool(EvalContext con)
For the following methods, you can use env.getSemantics to identify which semantics you want to implement.

toNode

public Node toNode(EvalContext con)
            throws QuiltWrongTypeException
Overrides:
toNode in class ValueCompared

toNodeList

public NodeList toNodeList(EvalContext con)
Description copied from class: ValueCompared
This method implements the corresponding method in the interface xacute.quilt.Value.
Overrides:
toNodeList in class ValueCompared

toNum

public float toNum(EvalContext con)
            throws QuiltWrongTypeException

toString

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

toSAX

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

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 f,
                       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 n,
                       EvalContext con)
                throws QuiltException