Package | Description |
---|---|
org.jdom2 |
Classes representing the components of an XML document.
|
org.jdom2.located |
Extended JDOM Content Classes that contain location coordinates.
|
Modifier and Type | Class and Description |
---|---|
class |
Document
An XML document.
|
class |
Element
An XML element.
|
Modifier and Type | Field and Description |
---|---|
protected Parent |
Content.parent
The parent
Parent of this Content. |
Modifier and Type | Method and Description |
---|---|
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 |
Content.getParent()
Return this child's parent, or null if this child is currently
not attached.
|
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 |
Element.setContent(int index,
java.util.Collection<? extends Content> newContent)
Replace the child at the given index with the supplied
collection.
|
Modifier and Type | Method and Description |
---|---|
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 Content |
Content.setParent(Parent parent)
Sets the parent of this Content.
|
protected ProcessingInstruction |
ProcessingInstruction.setParent(Parent parent) |
protected Comment |
Comment.setParent(Parent parent) |
protected DocType |
DocType.setParent(Parent parent) |
protected CDATA |
CDATA.setParent(Parent parent) |
protected Text |
Text.setParent(Parent parent) |
protected EntityRef |
EntityRef.setParent(Parent parent) |
Modifier and Type | Class and Description |
---|---|
class |
LocatedElement
This Element specialization contains the location information as parsed.
|
Copyright © 2021 Jason Hunter, Brett McLaughlin. All Rights Reserved.