Object DOMException Object ExceptionCode Object DOMImplementation The DOMImplementation object has the following methods: hasFeature(feature, version) This method returns a boolean. The feature parameter is of type DOMString. The version parameter is of type DOMString. Object DocumentFragment DocumentFragment has the all the properties and methods of Node as well as the properties and methods defined below. Object Document Document has the all the properties and methods of Node as well as the properties and methods defined below. The Document object has the following properties: doctype This property is of type DocumentType. implementation This property is of type DOMImplementation. documentElement This property is of type Element. The Document object has the following methods: createElement(tagName) This method returns a Element. The tagName parameter is of type DOMString. createDocumentFragment() This method returns a DocumentFragment. createTextNode(data) This method returns a Text. The data parameter is of type DOMString. createComment(data) This method returns a Comment. The data parameter is of type DOMString. createCDATASection(data) This method returns a CDATASection. The data parameter is of type DOMString. createProcessingInstruction(target, data) This method returns a ProcessingInstruction. The target parameter is of type DOMString. The data parameter is of type DOMString. createAttribute(name) This method returns a Attr. The name parameter is of type DOMString. createEntityReference(name) This method returns a EntityReference. The name parameter is of type DOMString. 135 Appendix E: ECMA Script Language Binding getElementsByTagName(tagname) This method returns a NodeList. The tagname parameter is of type DOMString. Object Node The Node object has the following properties: nodeName This property is of type String. nodeValue This property is of type String. nodeType This property is of type short. parentNode This property is of type Node. childNodes This property is of type NodeList. firstChild This property is of type Node. lastChild This property is of type Node. previousSibling This property is of type Node. nextSibling This property is of type Node. attributes This property is of type NamedNodeMap. ownerDocument This property is of type Document. The Node object has the following methods: insertBefore(newChild, refChild) This method returns a Node. The newChild parameter is of type Node. The refChild parameter is of type Node. replaceChild(newChild, oldChild) This method returns a Node. The newChild parameter is of type Node. The oldChild parameter is of type Node. removeChild(oldChild) This method returns a Node. The oldChild parameter is of type Node. appendChild(newChild) This method returns a Node. The newChild parameter is of type Node. hasChildNodes() This method returns a boolean. cloneNode(deep) This method returns a Node. The deep parameter is of type boolean. Object NodeList The NodeList object has the following properties: length This property is of type int. The NodeList object has the following methods: item(index) This method returns a Node. The index parameter is of type unsigned long. Object NamedNodeMap The NamedNodeMap object has the following properties: length This property is of type int. The NamedNodeMap object has the following methods: getNamedItem(name) This method returns a Node. The name parameter is of type DOMString. setNamedItem(arg) This method returns a Node. The arg parameter is of type Node. removeNamedItem(name) This method returns a Node. The name parameter is of type DOMString. item(index) This method returns a Node. The index parameter is of type unsigned long. Object CharacterData CharacterData has the all the properties and methods of Node as well as the properties and methods defined below. The CharacterData object has the following properties: data This property is of type String. length This property is of type int. The CharacterData object has the following methods: substringData(offset, count) This method returns a DOMString. The offset parameter is of type unsigned long. The count parameter is of type unsigned long. appendData(arg) This method returns a void. The arg parameter is of type DOMString. insertData(offset, arg) This method returns a void. The offset parameter is of type unsigned long. The arg parameter is of type DOMString. deleteData(offset, count) This method returns a void. The offset parameter is of type unsigned long. The count parameter is of type unsigned long. replaceData(offset, count, arg) This method returns a void. The offset parameter is of type unsigned long. The count parameter is of type unsigned long. The arg parameter is of type DOMString. Object Attr Attr has the all the properties and methods of Node as well as the properties and methods defined below. The Attr object has the following properties: name This property is of type String. specified This property is of type boolean. value This property is of type String. Object Element Element has the all the properties and methods of Node as well as the properties and methods defined below. The Element object has the following properties: tagName This property is of type String. The Element object has the following methods: getAttribute(name) This method returns a DOMString. The name parameter is of type DOMString. setAttribute(name, value) This method returns a void. The name parameter is of type DOMString. The value parameter is of type DOMString. removeAttribute(name) This method returns a void. The name parameter is of type DOMString. getAttributeNode(name) This method returns a Attr. The name parameter is of type DOMString. setAttributeNode(newAttr) This method returns a Attr. The newAttr parameter is of type Attr. removeAttributeNode(oldAttr) This method returns a Attr. The oldAttr parameter is of type Attr. getElementsByTagName(name) This method returns a NodeList. The name parameter is of type DOMString. normalize() This method returns a void. Object Text Text has the all the properties and methods of CharacterData as well as the properties and methods defined below. The Text object has the following methods: splitText(offset) This method returns a Text. The offset parameter is of type unsigned long. Object Comment Comment has the all the properties and methods of CharacterData as well as the properties and methods defined below. Object CDATASection CDATASection has the all the properties and methods of Text as well as the properties and methods defined below. Object DocumentType DocumentType has the all the properties and methods of Node as well as the properties and methods defined below. The DocumentType object has the following properties: name This property is of type String. entities This property is of type NamedNodeMap. notations This property is of type NamedNodeMap. Object Notation Notation has the all the properties and methods of Node as well as the properties and methods defined below. The Notation object has the following properties: publicId This property is of type String. systemId This property is of type String. Object Entity Entity has the all the properties and methods of Node as well as the properties and methods defined below. The Entity object has the following properties: publicId This property is of type String. systemId This property is of type String. notationName This property is of type String. Object EntityReference EntityReference has the all the properties and methods of Node as well as the properties and methods defined below. Object ProcessingInstruction ProcessingInstruction has the all the properties and methods of Node as well as the properties and methods defined below. The ProcessingInstruction object has the following properties: target This property is of type String. data This property is of type String.