org.apache.xpath.objects
Class XBooleanStatic

java.lang.Object
  |
  +--org.apache.xpath.Expression
        |
        +--org.apache.xpath.objects.XObject
              |
              +--org.apache.xpath.objects.XBoolean
                    |
                    +--org.apache.xpath.objects.XBooleanStatic

public class XBooleanStatic
extends XBoolean

**For internal use only** This class doesn't have any XPathContext, so override whatever to ensure it works OK.

See Also:
Serialized Form

Fields inherited from class org.apache.xpath.objects.XBoolean
S_FALSE, S_TRUE
 
Fields inherited from class org.apache.xpath.objects.XObject
CLASS_BOOLEAN, CLASS_NODESET, CLASS_NULL, CLASS_NUMBER, CLASS_RTREEFRAG, CLASS_STRING, CLASS_UNKNOWN, CLASS_UNRESOLVEDVARIABLE
 
Constructor Summary
XBooleanStatic(boolean b)
          Construct a XBooleanStatic object.
 
Method Summary
 boolean equals(XObject obj2)
          Tell if two objects are functionally equal.
 
Methods inherited from class org.apache.xpath.objects.XBoolean
bool, getType, getTypeString, num, object, str
 
Methods inherited from class org.apache.xpath.objects.XObject
castToType, create, execute, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual, mutableNodeset, nodeset, notEquals, rtree, rtree, toString
 
Methods inherited from class org.apache.xpath.Expression
assert, canTraverseOutsideSubtree, error, setSourceLocator, warn
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XBooleanStatic

public XBooleanStatic(boolean b)
Construct a XBooleanStatic object.
Parameters:
b - The value of the object
Method Detail

equals

public boolean equals(XObject obj2)
               throws TransformerException
Tell if two objects are functionally equal.
Parameters:
obj2 - Object to compare to this
Returns:
True if the two objects are equal
Throws:
TransformerException -  
Overrides:
equals in class XBoolean


Copyright � 2000 Apache XML Project. All Rights Reserved.