|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkirk.io.sdl.SDLDocument
This class represents an Structured Data Language document. It consists of an
SDLElement
tree.
SDLReader
,
SDLElement
Field Summary | |
protected SDLElement |
root
The root element of this document. |
Constructor Summary | |
SDLDocument(SDLElement root)
Constructs a new SDLDocument with the given version and root. |
Method Summary | |
SDLElement |
getRoot()
Returns the root element of this document. |
void |
setRoot(SDLElement root)
Sets the root element of this document to root . |
String |
toString()
Returns a string representation of this SDL Document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected SDLElement root
Constructor Detail |
public SDLDocument(SDLElement root)
SDLDocument
with the given version and root.
root
- The root element of this document.Method Detail |
public SDLElement getRoot()
public void setRoot(SDLElement root)
root
.
root
- The root element of this document.public String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |