cdqa.object
Class XString

java.lang.Object
  extended by cdqa.object.XObject
      extended by cdqa.object.XAtomic
          extended by cdqa.object.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(java.lang.String s)
           
(package private)  double doubleValue()
           
 short getType()
          Returns the type of this object.
 java.lang.String getValue()
           
(package private)  int intValue()
           
 java.lang.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, getFullText, getLabel, isEND, isFALSE, isTRUE, theENDObject, valueCompare
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wt1

static WordTokenizer wt1

wt2

static WordTokenizer wt2
Method Detail

getValue

public java.lang.String getValue()

getType

public short getType()
Description copied from class: XObject
Returns the type of this object. see the enumeration in XObject class

Specified by:
getType in class XObject

valueCompare

public boolean valueCompare(XObject o)
Specified by:
valueCompare in class XObject

booleanValue

boolean booleanValue()
               throws CastException
Specified by:
booleanValue in class XObject
Throws:
CastException

intValue

int intValue()
       throws CastException
Specified by:
intValue in class XObject
Throws:
CastException

doubleValue

double doubleValue()
             throws CastException
Specified by:
doubleValue in class XObject
Throws:
CastException

stringValue

public java.lang.String stringValue()
Specified by:
stringValue in class XObject

toUpperCase

public XString toUpperCase()
NP


toLowerCase

public XString toLowerCase()

create

public static XString create(java.lang.String s)