Java org.jdom2 Parent fields, constructors, methods, implement or subclass

Example usage for Java org.jdom2 Parent fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jdom2 Parent.

The text is from its open source code.

Method

ParentaddContent(int index, Content child)
Inserts the child into the content list at the given index.
ParentaddContent(int index, Collection c)
Inserts the content in a collection into the content list at the given index.
ContentgetContent(int index)
Returns the child at the given index.
ListgetContent(Filter filter)
Returns as a java.util.List the content of this parent that matches the supplied filter.
intgetContentSize()
Returns the number of children in this parent's content list.
ParentgetParent()
Return this parent's parent, or null if this parent is currently not attached to another parent.
intindexOf(Content child)
Returns the index of the supplied child in the content list, or -1 if not a child of this parent.
ListremoveContent(Filter filter)
Removes from this parent all child content matching the given filter and returns a list of the detached children.
booleanremoveContent(Content child)
Removes a single child node from the content list.
ContentremoveContent(int index)
Removes and returns the child at the given index, or returns null if there's no such child.