CellML API
dom::Document Interface Reference
dom::Document Interface Reference
Inheritance diagram for dom::Document:

Collaboration diagram for dom::Document:

Public Member Functions | |
Element | createElement (in DOMString tagName) raises (DOMException) |
DocumentFragment | createDocumentFragment () |
Text | createTextNode (in DOMString data) |
Comment | createComment (in DOMString data) |
CDATASection | createCDATASection (in DOMString data) raises (DOMException) |
ProcessingInstruction | createProcessingInstruction (in DOMString target, in DOMString data) raises (DOMException) |
Attr | createAttribute (in DOMString name) raises (DOMException) |
EntityReference | createEntityReference (in DOMString name) raises (DOMException) |
NodeList | getElementsByTagName (in DOMString tagname) |
Node | importNode (in Node importedNode, in boolean deep) raises (DOMException) |
Element | createElementNS (in DOMString namespaceURI, in DOMString qualifiedName) raises (DOMException) |
Attr | createAttributeNS (in DOMString namespaceURI, in DOMString qualifiedName) raises (DOMException) |
NodeList | getElementsByTagNameNS (in DOMString namespaceURI, in DOMString localName) |
Element | getElementById (in DOMString elementId) |
![]() | |
Node | insertBefore (in Node newChild, in Node refChild) raises (DOMException) |
Node | replaceChild (in Node newChild, in Node oldChild) raises (DOMException) |
Node | removeChild (in Node oldChild) raises (DOMException) |
Node | appendChild (in Node newChild) raises (DOMException) |
boolean | hasChildNodes () |
Node | cloneNode (in boolean deep) |
void | normalize () |
boolean | isSupported (in DOMString feature, in DOMString version) |
boolean | hasAttributes () |
![]() | |
void | add_ref () |
Called to indicate that some code is keeping an owning reference to the object. | |
oneway void | release_ref () |
Removes a reference to an object which was created by some other means (e.g. | |
IObject | query_interface (in utf8string id) |
Returns an IObject of the same implementation, which supports a specific interface. |
Public Attributes | |
readonly attribute DocumentType | doctype |
readonly attribute DOMImplementation | implementation |
readonly attribute Element | documentElement |
![]() | |
const unsigned short | ELEMENT_NODE = 1 |
const unsigned short | ATTRIBUTE_NODE = 2 |
const unsigned short | TEXT_NODE = 3 |
const unsigned short | CDATA_SECTION_NODE = 4 |
const unsigned short | ENTITY_REFERENCE_NODE = 5 |
const unsigned short | ENTITY_NODE = 6 |
const unsigned short | PROCESSING_INSTRUCTION_NODE = 7 |
const unsigned short | COMMENT_NODE = 8 |
const unsigned short | DOCUMENT_NODE = 9 |
const unsigned short | DOCUMENT_TYPE_NODE = 10 |
const unsigned short | DOCUMENT_FRAGMENT_NODE = 11 |
const unsigned short | NOTATION_NODE = 12 |
readonly attribute DOMString | nodeName |
attribute DOMString | nodeValue |
readonly attribute unsigned short | nodeType |
readonly attribute Node | parentNode |
readonly attribute NodeList | childNodes |
readonly attribute Node | firstChild |
readonly attribute Node | lastChild |
readonly attribute Node | previousSibling |
readonly attribute Node | nextSibling |
readonly attribute NamedNodeMap | attributes |
readonly attribute Document | ownerDocument |
readonly attribute DOMString | namespaceURI |
attribute DOMString | prefix |
readonly attribute DOMString | localName |
![]() | |
readonly attribute string | objid |
Fetches the ID of the object. |
Detailed Description
Definition at line 289 of file DOM_APISPEC.idl.
Member Function Documentation
Attr dom::Document::createAttribute | ( | in DOMString | name | ) | raises (DOMException) |
Attr dom::Document::createAttributeNS | ( | in DOMString | namespaceURI, |
in DOMString | qualifiedName | ||
) | raises (DOMException) |
CDATASection dom::Document::createCDATASection | ( | in DOMString | data | ) | raises (DOMException) |
DocumentFragment dom::Document::createDocumentFragment | ( | ) |
Element dom::Document::createElement | ( | in DOMString | tagName | ) | raises (DOMException) |
Element dom::Document::createElementNS | ( | in DOMString | namespaceURI, |
in DOMString | qualifiedName | ||
) | raises (DOMException) |
EntityReference dom::Document::createEntityReference | ( | in DOMString | name | ) | raises (DOMException) |
ProcessingInstruction dom::Document::createProcessingInstruction | ( | in DOMString | target, |
in DOMString | data | ||
) | raises (DOMException) |
NodeList dom::Document::getElementsByTagNameNS | ( | in DOMString | namespaceURI, |
in DOMString | localName | ||
) |
Node dom::Document::importNode | ( | in Node | importedNode, |
in boolean | deep | ||
) | raises (DOMException) |
Member Data Documentation
readonly attribute DocumentType dom::Document::doctype |
Definition at line 290 of file DOM_APISPEC.idl.
readonly attribute Element dom::Document::documentElement |
Definition at line 292 of file DOM_APISPEC.idl.
readonly attribute DOMImplementation dom::Document::implementation |
Definition at line 291 of file DOM_APISPEC.idl.