Uses of Interface
org.jdom2.Parent
Packages that use Parent
Package
Description
Classes representing the components of an XML document.
Extended JDOM Content Classes that contain location coordinates.
-
Uses of Parent in org.jdom2
Modifier and TypeFieldDescriptionprotected ParentContent.parentThe parentParentof this Content.Modifier and TypeMethodDescriptionParent.addContent(int index, Collection<? extends Content> c) Inserts the content in a collection into the content list at the given index.Parent.addContent(int index, Content child) Inserts the child into the content list at the given index.Parent.addContent(Collection<? extends Content> c) Appends all children in the given collection to the end of the content list.Parent.addContent(Content child) Appends the child to the end of the content list.Content.getParent()Return this child's parent, or null if this child is currently not attached.Document.getParent()Always returns null, Document cannot have a parent.Parent.getParent()Return this parent's parent, or null if this parent is currently not attached to another parent.Element.setContent(int index, Collection<? extends Content> newContent) Replace the child at the given index with the supplied collection.Modifier and TypeMethodDescriptionvoidDefaultJDOMFactory.addContent(Parent parent, Content child) voidJDOMFactory.addContent(Parent parent, Content content) This will add the specified content to the specified parent instancevoidUncheckedJDOMFactory.addContent(Parent parent, Content child) protected CDATAprotected Commentprotected ContentSets the parent of this Content.protected DocTypeprotected EntityRefprotected ProcessingInstructionprotected Text -
Uses of Parent in org.jdom2.located
Classes in org.jdom2.located that implement ParentModifier and TypeClassDescriptionclassThis Element specialization contains the location information as parsed.