#include <Document.h>
Inheritance diagram for org::w3c::dom::Document:
Document
interface represents the entire HTML or XML document.
Conceptually, it is the root of the document tree, and provides the primary access to the document's data.
Since elements, text nodes, comments, processing instructions, etc. cannot exist outside the context of a Document
, the Document
interface also contains the factory methods needed to create these objects. The Node
objects created have a ownerDocument
attribute which associates them with the Document
within whose context they were created.
See also the Document acdk::lang::Object Model (DOM) Level 3 Core Specification.
Public Member Functions | |
virtual RDocumentType | getDoctype ()=0 |
The Document Type Declaration (see DocumentType ) associated with this document. | |
virtual RDOMImplementation | getImplementation ()=0 |
The DOMImplementation object that handles this document. | |
virtual RElement | getDocumentElement ()=0 |
This is a convenience attribute that allows direct access to the child node that is the document element of the document. | |
virtual RElement | createElement (IN(RString) s)=0 throw ( RDOMException ) |
Creates an element of the type specified. | |
virtual RDocumentFragment | createDocumentFragment ()=0 |
Creates an empty DocumentFragment object. | |
virtual RText | createTextNode (IN(RString) s)=0 |
Creates a Text node given the specified string. | |
virtual RComment | createComment (IN(RString) s)=0 |
Creates a Comment node given the specified string. | |
virtual RCDATASection | createCDATASection (IN(RString) s)=0 throw ( RDOMException ) |
Creates a CDATASection node whose value is the specified string. | |
virtual RProcessingInstruction | createProcessingInstruction (IN(RString) s, IN(RString) s1)=0 throw ( RDOMException ) |
Creates a ProcessingInstruction node given the specified name and data strings. | |
virtual RAttr | createAttribute (IN(RString) s)=0 throw ( RDOMException ) |
Creates an Attr of the given name. | |
virtual REntityReference | createEntityReference (IN(RString) s)=0 throw ( RDOMException ) |
Creates an EntityReference object. | |
virtual RNodeList | getElementsByTagName (IN(RString) s)=0 |
Returns a NodeList of all the Elements in document order with a given tag name and are contained in the document. | |
virtual RDocument | addComment (IN(RString) comment) |
|
|
|
Creates an
Note that the
Implemented in acdk::xml::dom::XMLDocument, and acdk::xml::libxmldom::LibXMLDocument. |
|
Creates a
Implemented in acdk::xml::dom::XMLDocument, and acdk::xml::libxmldom::LibXMLDocument. |
|
Creates a
Implemented in acdk::xml::dom::XMLDocument, and acdk::xml::libxmldom::LibXMLDocument. |
|
Creates an empty
Implemented in acdk::xml::dom::XMLDocument, and acdk::xml::libxmldom::LibXMLDocument. |
|
Creates an element of the type specified.
Note that the instance returned implements the
Implemented in acdk::xml::dom::XMLDocument, and acdk::xml::libxmldom::LibXMLDocument. |
|
Creates an
In addition, if the referenced entity is known, the child list of the
Implemented in acdk::xml::dom::XMLDocument, and acdk::xml::libxmldom::LibXMLDocument. |
|
Creates a
Implemented in acdk::xml::dom::XMLDocument, and acdk::xml::libxmldom::LibXMLDocument. |
|
Creates a
Implemented in acdk::xml::dom::XMLDocument, and acdk::xml::libxmldom::LibXMLDocument. |
|
The Document Type Declaration (see
For XML documents without a document type declaration this returns
Implemented in acdk::xml::dom::XMLDocument, and acdk::xml::libxmldom::LibXMLDocument. |
|
This is a convenience attribute that allows direct access to the child node that is the document element of the document.
Implemented in acdk::xml::dom::XMLDocument, and acdk::xml::libxmldom::LibXMLDocument. |
|
Returns a
Implemented in acdk::xml::dom::XMLDocument, and acdk::xml::libxmldom::LibXMLDocument. |
|
The A DOM application may use objects from multiple implementations. Implemented in acdk::xml::dom::XMLDocument, and acdk::xml::libxmldom::LibXMLDocument. |