com.oakgrovesystems.xml
Class XMLObject
java.lang.Object
|
+--com.oakgrovesystems.xml.XMLObject
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- XMLReactorResponse
- public class XMLObject
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
stringValue
protected java.lang.String stringValue
jdomElement
protected org.jdom.Element jdomElement
jdomDocument
protected org.jdom.Document jdomDocument
jdomException
protected org.jdom.JDOMException jdomException
XMLObject
public XMLObject(java.lang.String text)
XMLObject
public XMLObject(org.jdom.Document document)
XMLObject
public XMLObject(org.jdom.Element element)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
prettyString
public java.lang.String prettyString()
toDocument
public org.jdom.Document toDocument()
- If there is a parsing problem, this will return null.
The exception can be found by calling getJDOMException().
toElement
public org.jdom.Element toElement()
- This returns the root element (or a clone).
If there is a parsing problem, this will return null.
The exception can be found by calling getJDOMException().
getJDOMException
public org.jdom.JDOMException getJDOMException()
Copyright (c) 1999-2004 Oak Grove Systems. All Rights Reserved.