org.kxml2.kdom
public class Document extends Node
Method Summary | |
---|---|
void | addChild(int index, int type, Object child) Adds a child at the given index position. |
String | getEncoding() returns "#document" |
String | getName() |
Element | getRootElement() returns the root element of this document. |
Boolean | getStandalone() |
void | parse(XmlPullParser parser) reads the document and checks if the last event
is END_DOCUMENT. |
void | removeChild(int index) |
void | setEncoding(String enc) |
void | setStandalone(Boolean standalone) |
void | write(XmlSerializer writer) Writes this node to the given XmlWriter. |