cdqa.object
Class XAttr
java.lang.Object
cdqa.object.XObject
cdqa.object.XDOMObject
cdqa.object.XAttr
public final class XAttr
- extends XDOMObject
The XAttr class defines a wrapper for Attr DOM interface
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
valueCompare
public boolean valueCompare(XObject o)
- Specified by:
valueCompare
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
create
public static XAttr create(org.w3c.dom.Attr a)
create
public static XAttr create(org.w3c.dom.Node n)