Package | Description |
---|---|
org.kxml2.kdom |
Modifier and Type | Class and Description |
---|---|
class |
Document
The document consists of some legacy events and a single root
element.
|
class |
Element
In order to create an element, please use the createElement method
instead of invoking the constructor directly.
|
Modifier and Type | Method and Description |
---|---|
Node |
Element.getParent()
Returns the parent node of this element
|
Node |
Element.getRoot()
Returns the root node, determined by ascending to the
all parents un of the root element.
|