|
JDOM 1.0beta10-dev |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.jdom.Content
Superclass for JDOM objects which can be legal child content
of Parent nodes.
Comment,
DocType,
Element,
EntityRef,
Parent,
ProcessingInstruction,
Text,
Serialized Form| Field Summary | |
protected Parent |
parent
|
| Constructor Summary | |
protected |
Content()
|
| Method Summary | |
java.lang.Object |
clone()
Returns a deep, unattached copy of this child and its descendants detached from any parent or document. |
Content |
detach()
Detaches this child from its parent or does nothing if the child has no parent. |
Document |
getDocument()
Return this child's owning document or null if the branch containing this child is currently not attached to a document. |
Parent |
getParent()
Return this child's parent, or null if this child is currently not attached. |
abstract java.lang.String |
getValue()
Returns the XPath 1.0 string value of this child. |
protected Content |
setParent(Parent parent)
Sets the parent of this Content. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Parent parent
| Constructor Detail |
protected Content()
| Method Detail |
public Content detach()
public Parent getParent()
Element
or a Document.
protected Content setParent(Parent parent)
parent - new parent element
public Document getDocument()
public abstract java.lang.String getValue()
public java.lang.Object clone()
clone in class java.lang.Object
|
JDOM 1.0beta10-dev |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||