Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.jdom.Content

Packages that use Content
org.jdom |
org.jdom.output |

Uses of Content in org.jdom

Subclasses of Content in org.jdom
`class` | `CDATA` An XML CDATA section.
`class` | `Comment` An XML comment.
`class` | `DocType` An XML DOCTYPE declaration.
`class` | `Element` An XML element.
`class` | `EntityRef` An XML entity reference.
`class` | `ProcessingInstruction` An XML processing instruction.
`class` | `Text` Character-based XML content.

Fields in org.jdom declared as Content
`private Content[]` | `ContentList.elementData` Our backing list

Methods in org.jdom that return Content
`Content` | `Content.detach()` Detaches this child from its parent or does nothing if the child has no parent.
`Content` | `Document.getContent(int index)`
`Content` | `Element.getContent(int index)`
`Content` | `Parent.getContent(int index)` Returns the child at the given index.
`Content` | `Document.removeContent(int index)`
`Content` | `Element.removeContent(int index)`
`Content` | `Parent.removeContent(int index)` Removes and returns the child at the given index, or returns null if there's no such child.
`protected Content` | `Content.setParent(Parent parent)` Sets the parent of this Content.

Methods in org.jdom with parameters of type Content
`(package private) void` | `ContentList.add(int index, Content child)` Check and add the `Element` to this list at the given index.
`Document` | `Document.addContent(Content child)` Appends the child to the end of the content list.
`Element` | `Element.addContent(Content child)` Appends the child to the end of the element's content list.
`Document` | `Document.addContent(int index, Content child)` Inserts the child into the content list at the given index.
`Element` | `Element.addContent(int index, Content child)` Inserts the child into the content list at the given index.
`void` | `DefaultJDOMFactory.addContent(Parent parent, Content child)`
`void` | `JDOMFactory.addContent(Parent parent, Content content)`
`void` | `UncheckedJDOMFactory.addContent(Parent parent, Content child)`
`private void` | `ContentList.documentCanContain(int index, Content child)`
`private static void` | `ContentList.elementCanContain(int index, Content child)`
`int` | `Document.indexOf(Content child)`
`int` | `Element.indexOf(Content child)`
`int` | `Parent.indexOf(Content child)` Returns the index of the supplied child in the content list, or -1 if not a child of this parent.
`boolean` | `Document.removeContent(Content child)`
`boolean` | `Element.removeContent(Content child)`
`boolean` | `Parent.removeContent(Content child)` Removes a single child node from the content list.
`private static void` | `ContentList.removeParent(Content c)` Remove the parent of a Object
`Document` | `Document.setContent(Content child)` Set this document's content to be the supplied child.
`Element` | `Element.setContent(Content child)` Set this element's content to be the supplied child.
`Document` | `Document.setContent(int index, Content child)`
`Element` | `Element.setContent(int index, Content child)` Replace the current child the given index with the supplied child.
`(package private) void` | `ContentList.uncheckedAddContent(Content c)` Package internal method to support building from sources that are 100% trusted.

Uses of Content in org.jdom.output

Methods in org.jdom.output with parameters of type Content
`private void` | `SAXOutputter.elementContent(Content node, NamespaceStack namespaces)` This will invoke the callbacks for the content of an element.
`void` | `SAXOutputter.outputFragment(Content node)` This will output a single JDOM nodes as a fragment of an XML document, firing off the SAX events that have been registered.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES