|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcdqa.object.XObject
cdqa.object.XDOMObject
public abstract class XDOMObject
XDOMObject based on XObject
Field Summary | |
---|---|
(package private) org.w3c.dom.Node |
n
the wrapped node |
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 |
Constructor Summary | |
---|---|
protected |
XDOMObject(org.w3c.dom.Node n)
|
Method Summary | |
---|---|
(package private) boolean |
booleanValue()
|
org.w3c.dom.Node |
createDOMClone()
creates a clone of this object |
static XDOMObject |
createXDOMObject(org.w3c.dom.Node n)
factory |
(package private) double |
doubleValue()
|
XElement |
getDocumentElement()
The root element of the document this object belongs to, if any. |
XString |
getNodeName()
Returns a XString containing the node name of this XObject as defined in the W3C recommandation, if this XObject wraps a DOM object. |
XDocument |
getOwnerDocument(IRepository repository)
The document this object belongs to, if any. |
XDOMObject |
getParentNode()
Returns the parent object of this object null if this object has no parent |
org.w3c.dom.Node |
getWrappedNode()
returns the wrapped node |
(package private) int |
intValue()
|
boolean |
isAtomic()
Returns true iff this object is atomic |
boolean |
isDOM()
Returns true iff this object is a DOM object |
void |
print(XObjectWriter w)
output |
void |
setWrappedNode(org.w3c.dom.Node n)
|
java.lang.String |
toString()
|
Methods inherited from class cdqa.object.XObject |
---|
asBoolean, asDouble, asInteger, asString, fullText, getFullText, getLabel, getType, isEND, isFALSE, isTRUE, pathTo, shortText, stringValue, theENDObject, valueCompare, valueCompare |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
org.w3c.dom.Node n
Constructor Detail |
---|
protected XDOMObject(org.w3c.dom.Node n)
Method Detail |
---|
public final org.w3c.dom.Node getWrappedNode()
public final void setWrappedNode(org.w3c.dom.Node n)
final boolean booleanValue() throws CastException
booleanValue
in class XObject
CastException
final int intValue() throws CastException
intValue
in class XObject
CastException
final double doubleValue() throws CastException
doubleValue
in class XObject
CastException
public final boolean isAtomic()
isAtomic
in class XObject
public final boolean isDOM()
isDOM
in class XObject
public final XDOMObject getParentNode()
XObject
getParentNode
in class XObject
public final XDocument getOwnerDocument(IRepository repository)
XObject
getOwnerDocument
in class XObject
public final XElement getDocumentElement()
XObject
getDocumentElement
in class XObject
public XString getNodeName()
XObject
getNodeName
in class XObject
public org.w3c.dom.Node createDOMClone()
createDOMClone
in class XObject
public static XDOMObject createXDOMObject(org.w3c.dom.Node n)
public java.lang.String toString()
toString
in class java.lang.Object
public final void print(XObjectWriter w)
print
in class XObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |