Inheritance diagram for DzDomDocument:
Methods | |
DzDomNode | createAttribute (String name) |
DzDomNode | createAttributeNS (String nsURI, String qName) |
DzDomNode | createCDATASection (String value) |
DzDomNode | createComment (String value) |
DzDomNode | createDocumentFragment () |
DzDomNode | createElement (String tagName) |
DzDomNode | createElementNS (String nsURI, String qName) |
DzDomNode | createEntityReference (String name) |
DzDomNode | createProcessingInstruction (String target, String data) |
DzDomNode | createTextNode (String value) |
DzDomNode | doctype () |
DzDomNode | elementById (String id) |
DzDomNode | importNode (DzDomNode node, Boolean deep) |
Boolean | loadContent (String filename) |
Boolean | saveContent (String filename) |
Boolean | setContent (String text) |
String | toString () |
Constructors | |
DzDomDocument (String filename) | |
DzDomDocument () |
Represents a DOM document. This is typically the only DOM node that you will construct directly, all other nodes should be created as a member of a document by calling one of the following functions:
DzDomDocument::DzDomDocument | ( | ) |
Default constructor
DzDomDocument::DzDomDocument | ( | String | filename | ) |
Overloaded constructor. Loads the given file name as the content for this document.
DzDomNode * DzDomDocument::createDocumentFragment | ( | ) |
DzDomNode * DzDomDocument::doctype | ( | ) |
deep
is true, the node and all its children are imported recursively. Sets the content of the document by reading the file with the given string.
Saves the contents of the document to the file with the given name.
Sets the content of the document from the given string.
String DzDomDocument::toString | ( | ) |