| 
JDOM 2.0.2  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Parent | |
|---|---|
| org.jdom2 | Classes representing the components of an XML document. | 
| org.jdom2.located | Extended JDOM Content Classes that contain location coordinates. | 
| Uses of Parent in org.jdom2 | 
|---|
| Classes in org.jdom2 that implement Parent | |
|---|---|
 class | 
Document
An XML document.  | 
 class | 
Element
An XML element.  | 
| Fields in org.jdom2 declared as Parent | |
|---|---|
protected  Parent | 
Content.parent
The parent Parent of this Content. | 
| Methods in org.jdom2 that return Parent | |
|---|---|
 Parent | 
Parent.addContent(java.util.Collection<? extends Content> c)
Appends all children in the given collection to the end of the content list.  | 
 Parent | 
Parent.addContent(Content child)
Appends the child to the end of the content list.  | 
 Parent | 
Parent.addContent(int index,
           java.util.Collection<? extends Content> c)
Inserts the content in a collection into the content list at the given index.  | 
 Parent | 
Parent.addContent(int index,
           Content child)
Inserts the child into the content list at the given index.  | 
 Parent | 
Parent.getParent()
Return this parent's parent, or null if this parent is currently not attached to another parent.  | 
 Parent | 
Document.getParent()
Always returns null, Document cannot have a parent.  | 
 Parent | 
Content.getParent()
Return this child's parent, or null if this child is currently not attached.  | 
 Parent | 
Element.setContent(int index,
           java.util.Collection<? extends Content> newContent)
Replace the child at the given index whith the supplied collection.  | 
| Methods in org.jdom2 with parameters of type Parent | |
|---|---|
 void | 
UncheckedJDOMFactory.addContent(Parent parent,
           Content child)
 | 
 void | 
JDOMFactory.addContent(Parent parent,
           Content content)
This will add the specified content to the specified parent instance  | 
 void | 
DefaultJDOMFactory.addContent(Parent parent,
           Content child)
 | 
protected  Text | 
Text.setParent(Parent parent)
 | 
protected  ProcessingInstruction | 
ProcessingInstruction.setParent(Parent parent)
 | 
protected  EntityRef | 
EntityRef.setParent(Parent parent)
 | 
protected  DocType | 
DocType.setParent(Parent parent)
 | 
protected  Content | 
Content.setParent(Parent parent)
Sets the parent of this Content.  | 
protected  Comment | 
Comment.setParent(Parent parent)
 | 
protected  CDATA | 
CDATA.setParent(Parent parent)
 | 
| Uses of Parent in org.jdom2.located | 
|---|
| Classes in org.jdom2.located that implement Parent | |
|---|---|
 class | 
LocatedElement
This Element specialization contains the location information as parsed.  | 
  | 
JDOM 2.0.2  | 
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||