The content is stored as a
Text object per text node
Element object per child element
Comment object per comment
CDATA object per CDATA section
ProcessingInstruction object per processing instruction
Use the regular methods of
add, remove, and inspect the contents of an element
Since the methods of
java.util.List expect to work
Object objects, casting back to JDOM types
String is frequent
Various utility methods mean you don't always have to work with the full list.
Attributes and namespaces are available as separate lists since these are not children.