Uses of Class
org.jdom.Content
Packages that use Content
Package
Description
Classes to represent the components of an XML document.
Classes to output JDOM documents to various destinations.
-
Uses of Content in org.jdom
Modifier and TypeClassDescriptionclassAn XML CDATA section.classAn XML comment.classAn XML DOCTYPE declaration.classAn XML element.classAn XML entity reference.classAn XML processing instruction.classCharacter-based XML content.Modifier and TypeMethodDescriptionContent.detach()Detaches this child from its parent or does nothing if the child has no parent.Document.getContent(int index) Element.getContent(int index) Parent.getContent(int index) Returns the child at the given index.Document.removeContent(int index) Element.removeContent(int index) Parent.removeContent(int index) Removes and returns the child at the given index, or returns null if there's no such child.protected ContentSets the parent of this Content.Modifier and TypeMethodDescriptionvoidDefaultJDOMFactory.addContent(Parent parent, Content child) Document.addContent(int index, Content child) Inserts the child into the content list at the given index.Document.addContent(Content child) Appends the child to the end of the content list.Element.addContent(int index, Content child) Inserts the child into the content list at the given index.Element.addContent(Content child) Appends the child to the end of the element's content list.voidJDOMFactory.addContent(Parent parent, Content content) voidUncheckedJDOMFactory.addContent(Parent parent, Content child) intintintReturns the index of the supplied child in the content list, or -1 if not a child of this parent.booleanDocument.removeContent(Content child) booleanElement.removeContent(Content child) booleanParent.removeContent(Content child) Removes a single child node from the content list.Document.setContent(int index, Content child) Document.setContent(Content child) Set this document's content to be the supplied child.Element.setContent(int index, Content child) Replace the current child the given index with the supplied child.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 ContentModifier and TypeMethodDescriptionvoidSAXOutputter.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.