cdqa.object
Class XText
the wrapper class for DOM Text interfaces
$Id: XText.java,v 1.1 2004/09/23 09:49:47 benjello Exp $
booleanValue, createDOMClone, createXDOMObject, doubleValue, getDocumentElement, getNodeName, getOwnerDocument, getParentNode, getWrappedNode, intValue, isAtomic, isDOM, print, setWrappedNode, toString |
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 |
create
public static XText create(Node n)
create
public static XText create(Text t)
getType
public short getType()
Returns the type of this object.
see the enumeration in XObject class
- getType in interface XObject
pathTo
public final XString pathTo(XObject o)
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
- pathTo in interface XObject