cdqa.object

Class XString


public final class XString
extends XAtomic

Field Summary

(package private) static WordTokenizer
wt1
(package private) static WordTokenizer
wt2

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 XString
create(String s)
(package private) double
doubleValue()
short
getType()
Returns the type of this object.
String
getValue()
(package private) int
intValue()
String
stringValue()
XString
toLowerCase()
XString
toUpperCase()
NP*******************
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

wt1

(package private) static WordTokenizer wt1

wt2

(package private) static WordTokenizer wt2

Method Details

booleanValue

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

create

public static XString create(String s)

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

getValue

public String getValue()

intValue

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

stringValue

public String stringValue()
Overrides:
stringValue in interface XObject

toLowerCase

public XString toLowerCase()

toUpperCase

public XString toUpperCase()
NP*******************

valueCompare

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