FileDocCategorySizeDatePackage
XBooleanStatic.javaAPI DocJava SE 5 API1638Fri Aug 26 14:56:10 BST 2005com.sun.org.apache.xpath.internal.objects

XBooleanStatic

public class XBooleanStatic extends XBoolean
This class doesn't have any XPathContext, so override whatever to ensure it works OK.
xsl.usage
internal

Fields Summary
boolean
m_val
The value of the object.
Constructors Summary
public XBooleanStatic(boolean b)
Construct a XBooleanStatic object.

param
b The value of the object


    super(b);

    m_val = b;
  
Methods Summary
public booleanequals(com.sun.org.apache.xpath.internal.objects.XObject obj2)
Tell if two objects are functionally equal.

param
obj2 Object to compare to this
return
True if the two objects are equal
throws
javax.xml.transform.TransformerException

    try
    {
      return m_val == obj2.bool();
    }
    catch(javax.xml.transform.TransformerException te)
    {
      throw new com.sun.org.apache.xml.internal.utils.WrappedRuntimeException(te);
    }