Uses of Class
org.jdom.Content
-
Packages that use Content Package Description org.jdom Classes to represent the components of an XML document.org.jdom.output Classes to output JDOM documents to various destinations. -
-
Uses of Content in org.jdom
Subclasses of Content in org.jdom Modifier and Type Class Description 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 Modifier and Type Method Description 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 Modifier and Type Method Description void
DefaultJDOMFactory. addContent(Parent parent, Content child)
Document
Document. addContent(int index, Content child)
Inserts the child into the content list at the given index.Document
Document. addContent(Content child)
Appends the child to the end of the content list.Element
Element. addContent(int index, Content child)
Inserts the child into the content list at the given index.Element
Element. addContent(Content child)
Appends the child to the end of the element's content list.void
JDOMFactory. addContent(Parent parent, Content content)
void
UncheckedJDOMFactory. addContent(Parent parent, 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.Document
Document. setContent(int index, Content child)
Document
Document. setContent(Content child)
Set this document's content to be the supplied child.Element
Element. setContent(int index, Content child)
Replace the current child the given index with the supplied child.Element
Element. setContent(Content child)
Set this element's content to be the supplied child. -
Uses of Content in org.jdom.output
Methods in org.jdom.output with parameters of type Content Modifier and Type Method Description 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.
-