01 September, 2000

Appendix C: ECMA Script Language Binding

This appendix contains the complete ECMA Script [ECMAScript] binding for the Level 3 Document Object Model Core definitions.

Object Entity3
Entity3 has the all the properties and methods of Entity as well as the properties and methods defined below.
The Entity3 object has the following properties:
actualEncoding
This property is of type String.
encoding
This property is of type String.
version
This property is of type String.
Object Document3
Document3 has the all the properties and methods of Document as well as the properties and methods defined below.
The Document3 object has the following properties:
actualEncoding
This property is of type String.
encoding
This property is of type String.
standalone
This property is of type boolean.
strictErrorChecking
This property is of type boolean.
version
This property is of type String.
The Document3 object has the following methods:
adoptNode(source)
This method returns a Node.
The source parameter is of type Node.
getElementsByAttributeValue(namespaceURI, localName, value)
This method returns a NodeList.
The namespaceURI parameter is of type String.
The localName parameter is of type String.
The value parameter is of type String.
Object Node3
The Node3 object has the following properties:
baseURI
This property is of type String.
textContent
This property is of type String.
key
This property is of type Object.
The Node3 object has the following methods:
compareDocumentOrder(other)
This method returns a DocumentOrder.
The other parameter is of type Node.
compareTreePosition(other)
This method returns a TreePosition.
The other parameter is of type Node.
isSameNode(other)
This method returns a boolean.
The other parameter is of type Node.
lookupNamespacePrefix(namespaceURI)
This method returns a String.
The namespaceURI parameter is of type String.
lookupNamespaceURI(prefix)
This method returns a String.
The prefix parameter is of type String.
normalizeNS()
This method has no return value.
setUserData(data, key)
This method returns a Object.
The data parameter is of type Object.
The key parameter is of type String.
getUserData(key)
This method returns a Object.
The key parameter is of type String.
Object Text3
Text3 has the all the properties and methods of Text as well as the properties and methods defined below.
The Text3 object has the following properties:
isWhitespaceInElementContent
This property is of type boolean.