26 January 2001

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 the Entity object 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 the Document object 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 object.
The source parameter is a Node object.
This method can raise a DOMException object.
Object Node3
The Node3 object has the following properties:
baseURI
This read-only property is of type String.
textContent
This property is of type String.
key
This read-only property is of type Number.
The Node3 object has the following methods:
compareDocumentOrder(other)
This method returns a DocumentOrder object.
The other parameter is a Node object.
This method can raise a DOMException object.
compareTreePosition(other)
This method returns a TreePosition object.
The other parameter is a Node object.
This method can raise a DOMException object.
isSameNode(other)
This method returns a Boolean.
The other parameter is a Node object.
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.
equalsNode(arg, deep)
This method returns a Boolean.
The arg parameter is a Node object.
The deep parameter is of type Boolean.
Object Text3
Text3 has the all the properties and methods of the Text object as well as the properties and methods defined below.
The Text3 object has the following properties:
isWhitespaceInElementContent
This read-only property is of type Boolean.