cdqa.object

Class XBoolean


public final class XBoolean
extends XAtomic

Field Summary

static XBoolean
FALSE
static XBoolean
TRUE

Fields inherited from class cdqa.object.XObject

LOGGER, TYPE_ATTR, TYPE_BOOLEAN, TYPE_DOCUMENT, TYPE_DOUBLE, TYPE_ELEMENT, TYPE_END, TYPE_INTEGER, TYPE_STRING, TYPE_TEXT

Method Summary

(package private) boolean
booleanValue()
static XBoolean
create(boolean b)
(package private) double
doubleValue()
short
getType()
Returns the type of this object.
(package private) int
intValue()
(package private) String
stringValue()
boolean
valueCompare(XObject o)

Methods inherited from class cdqa.object.XAtomic

createDOMClone, fullText, getDocumentElement, getNodeName, getOwnerDocument, getParentNode, isAtomic, isDOM, pathTo, print, shortText

Methods inherited from class cdqa.object.XObject

asBoolean, asDouble, asInteger, asString, booleanValue, createDOMClone, doubleValue, fullText, getDocumentElement, getFullText, getLabel, getNodeName, getOwnerDocument, getParentNode, getType, intValue, isAtomic, isDOM, isEND, isFALSE, isTRUE, pathTo, print, shortText, stringValue, theENDObject, valueCompare, valueCompare

Field Details

FALSE

public static final XBoolean FALSE

TRUE

public static final XBoolean TRUE

Method Details

booleanValue

(package private)  boolean booleanValue()
            throws CastException
Overrides:
booleanValue in interface XObject

create

public static XBoolean create(boolean b)

doubleValue

(package private)  double doubleValue()
            throws CastException
Overrides:
doubleValue in interface XObject

getType

public short getType()
Returns the type of this object. see the enumeration in XObject class
Overrides:
getType in interface XObject

intValue

(package private)  int intValue()
            throws CastException
Overrides:
intValue in interface XObject

stringValue

(package private)  String stringValue()
Overrides:
stringValue in interface XObject

valueCompare

public boolean valueCompare(XObject o)
Overrides:
valueCompare in interface XObject