cdqa.object
Class XText
java.lang.Object
cdqa.object.XObject
cdqa.object.XDOMObject
cdqa.object.XText
public final class XText
- extends XDOMObject
the wrapper class for DOM Text interfaces
- Version:
- $Id: XText.java,v 1.1 2004/09/23 09:49:47 benjello Exp $
- Author:
- $Author: benjello $
Methods inherited from class cdqa.object.XDOMObject |
booleanValue, createDOMClone, createXDOMObject, doubleValue, getDocumentElement, getNodeName, getOwnerDocument, getParentNode, getWrappedNode, intValue, isAtomic, isDOM, print, setWrappedNode, toString |
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, wait, wait, wait |
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
pathTo
public final XString pathTo(XObject o)
- Description copied from class:
XObject
- Returns the path to this object.
It is a XString of the form "this/label1/.../labels"
null if this object does not actually belong to any document
- Specified by:
pathTo
in class XObject
stringValue
java.lang.String stringValue()
- Specified by:
stringValue
in class XObject
shortText
java.lang.String shortText()
- Specified by:
shortText
in class XObject
fullText
java.lang.String fullText()
- Specified by:
fullText
in class XObject
valueCompare
public boolean valueCompare(XObject o)
- Specified by:
valueCompare
in class XObject
create
public static XText create(org.w3c.dom.Text t)
create
public static XText create(org.w3c.dom.Node n)