FileDocCategorySizeDatePackage
XBooleanStatic.javaAPI DocJava SE 6 API1722Tue Jun 10 00:23:16 BST 2008com.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
static final long
serialVersionUID
private final 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);
    }