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

## Uses of Class
org.jdom.Content

Packages that use Content
org.jdom | Classes to represent the components of an XML document.

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.

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

Methods in org.jdom with parameters of type Content
`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.
`Parent` | `Parent.addContent(Content child)` Appends the child to the end of the content list.
`Parent` | `Parent.addContent(int index, Content child)` Inserts the child into the content list at the given index.
`boolean` | `Parent.removeContent(Content child)` Removes a single child node from the content list.
`Parent` | `Parent.setContent(Content child)` Set this parent's content to the supplied child.
`Parent` | `Parent.setContent(int index, Content child)` Replaces the current child the given index with the supplied child.
`void` | `Parent.canContain(Content child, int index)` Checks if this parent can contain the given child at the specified position, throwing a descriptive IllegalAddException if not and simply returning if it's allowed.
`int` | `Element.indexOf(Content child)`
`Parent` | `Element.setContent(int index, Content child)` Replace the current child the given index with the supplied child.
`Parent` | `Element.addContent(Content child)` This appends a child to this element.
`Parent` | `Element.addContent(int index, Content child)`
`boolean` | `Element.removeContent(Content child)`
`Parent` | `Element.setContent(Content child)`
`void` | `Element.canContain(Content child, int index)`
`int` | `Document.indexOf(Content child)`
`Parent` | `Document.addContent(Content child)` Adds the specified PI to the document.
`Parent` | `Document.addContent(int index, Content child)`
`Parent` | `Document.setContent(int index, Content child)`
`boolean` | `Document.removeContent(Content child)`
`Parent` | `Document.setContent(Content child)`
`void` | `Document.canContain(Content child, int index)`

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

Copyright © 2004 Jason Hunter, Brett McLaughlin. All Rights Reserved.