Appendix C: ECMAScript
Language Binding
This appendix contains the complete ECMAScript [ECMAScript] binding for the Level
3 Document Object Model Abstract Schemas definitions.
- Properties of the ASConstants Constructor function:
-
- ASConstants.ELEMENT_DECLARATION
- The value of the constant
ASConstants.ELEMENT_DECLARATION is 1.
- ASConstants.ATTRIBUTE_DECLARATION
- The value of the constant
ASConstants.ATTRIBUTE_DECLARATION is 2.
- ASConstants.NOTATION_DECLARATION
- The value of the constant
ASConstants.NOTATION_DECLARATION is 3.
- ASConstants.ENTITY_DECLARATION
- The value of the constant ASConstants.ENTITY_DECLARATION
is 4.
- ASConstants.CONTENT_MODEL
- The value of the constant ASConstants.CONTENT_MODEL is
5.
- ASConstants.SCHEMA_MODEL
- The value of the constant ASConstants.SCHEMA_MODEL is
6.
- ASConstants.INTERNAL_SUBSET
- The value of the constant ASConstants.INTERNAL_SUBSET is
30.
- ASConstants.EXTERNAL_SUBSET
- The value of the constant ASConstants.EXTERNAL_SUBSET is
31.
- ASConstants.NOT_USED
- The value of the constant ASConstants.NOT_USED is
32.
- ASConstants.INTERNAL_ENTITY
- The value of the constant ASConstants.INTERNAL_ENTITY is
33.
- ASConstants.EXTERNAL_ENTITY
- The value of the constant ASConstants.EXTERNAL_ENTITY is
34.
- ASConstants.EMPTY_CONTENTTYPE
- The value of the constant ASConstants.EMPTY_CONTENTTYPE
is 40.
- ASConstants.SIMPLE_CONTENTTYPE
- The value of the constant ASConstants.SIMPLE_CONTENTTYPE
is 41.
- ASConstants.ELEMENT_CONTENTTYPE
- The value of the constant
ASConstants.ELEMENT_CONTENTTYPE is 42.
- ASConstants.MIXED_CONTENTTYPE
- The value of the constant ASConstants.MIXED_CONTENTTYPE
is 43.
- ASConstants.ANY_CONTENTTYPE
- The value of the constant ASConstants.ANY_CONTENTTYPE is
44.
- ASConstants.SEQUENCE_CM
- The value of the constant ASConstants.SEQUENCE_CM is
50.
- ASConstants.CHOICE_CM
- The value of the constant ASConstants.CHOICE_CM is
51.
- ASConstants.ALL_CM
- The value of the constant ASConstants.ALL_CM is
52.
- ASConstants.UNDEFINED_CM
- The value of the constant ASConstants.UNDEFINED_CM is
53.
- ASConstants.ATOMIC_CM
- The value of the constant ASConstants.ATOMIC_CM is
54.
- ASConstants.NONE_VC
- The value of the constant ASConstants.NONE_VC is
0.
- ASConstants.DEFAULT_VC
- The value of the constant ASConstants.DEFAULT_VC is
60.
- ASConstants.FIXED_VC
- The value of the constant ASConstants.FIXED_VC is
61.
- ASConstants.REQUIRED_VC
- The value of the constant ASConstants.REQUIRED_VC is
62.
- ASConstants.UNBOUNDED
- The value of the constant ASConstants.UNBOUNDED is
MAX_VALUE.
- Objects that implement the ASConstants interface:
- Objects that implement the ASObject interface:
-
- Properties of objects that implement the ASObject
interface:
-
- objectType
- This read-only property is a Number.
- ownerModel
- This read-only property is an object that implements the
ASModel interface.
- rawname
- This read-only property is a String.
- name
- This read-only property is a String.
- namespace
- This read-only property is a String.
- Functions of objects that implement the ASObject
interface:
-
- cloneASObject(deep)
- This function returns an object that implements the
ASObject interface.
The deep parameter is a Boolean.
This function can raise an object that implements the
ASException interface.
- Properties of the ASDataType Constructor function:
-
- ASDataType.STRING_DATATYPE
- The value of the constant ASDataType.STRING_DATATYPE is
1.
- ASDataType.NOTATION_DATATYPE
- The value of the constant ASDataType.NOTATION_DATATYPE
is 10.
- ASDataType.ID_DATATYPE
- The value of the constant ASDataType.ID_DATATYPE is
11.
- ASDataType.IDREF_DATATYPE
- The value of the constant ASDataType.IDREF_DATATYPE is
12.
- ASDataType.IDREFS_DATATYPE
- The value of the constant ASDataType.IDREFS_DATATYPE is
13.
- ASDataType.ENTITY_DATATYPE
- The value of the constant ASDataType.ENTITY_DATATYPE is
14.
- ASDataType.ENTITIES_DATATYPE
- The value of the constant ASDataType.ENTITIES_DATATYPE
is 15.
- ASDataType.NMTOKEN_DATATYPE
- The value of the constant ASDataType.NMTOKEN_DATATYPE is
16.
- ASDataType.NMTOKENS_DATATYPE
- The value of the constant ASDataType.NMTOKENS_DATATYPE
is 17.
- ASDataType.BOOLEAN_DATATYPE
- The value of the constant ASDataType.BOOLEAN_DATATYPE is
100.
- ASDataType.FLOAT_DATATYPE
- The value of the constant ASDataType.FLOAT_DATATYPE is
101.
- ASDataType.DOUBLE_DATATYPE
- The value of the constant ASDataType.DOUBLE_DATATYPE is
102.
- ASDataType.DECIMAL_DATATYPE
- The value of the constant ASDataType.DECIMAL_DATATYPE is
103.
- ASDataType.HEXBINARY_DATATYPE
- The value of the constant ASDataType.HEXBINARY_DATATYPE
is 104.
- ASDataType.BASE64BINARY_DATATYPE
- The value of the constant
ASDataType.BASE64BINARY_DATATYPE is 105.
- ASDataType.ANYURI_DATATYPE
- The value of the constant ASDataType.ANYURI_DATATYPE is
106.
- ASDataType.QNAME_DATATYPE
- The value of the constant ASDataType.QNAME_DATATYPE is
107.
- ASDataType.DURATION_DATATYPE
- The value of the constant ASDataType.DURATION_DATATYPE
is 108.
- ASDataType.DATETIME_DATATYPE
- The value of the constant ASDataType.DATETIME_DATATYPE
is 109.
- ASDataType.DATE_DATATYPE
- The value of the constant ASDataType.DATE_DATATYPE is
110.
- ASDataType.TIME_DATATYPE
- The value of the constant ASDataType.TIME_DATATYPE is
111.
- ASDataType.GYEARMONTH_DATATYPE
- The value of the constant ASDataType.GYEARMONTH_DATATYPE
is 112.
- ASDataType.GYEAR_DATATYPE
- The value of the constant ASDataType.GYEAR_DATATYPE is
113.
- ASDataType.GMONTHDAY_DATATYPE
- The value of the constant ASDataType.GMONTHDAY_DATATYPE
is 114.
- ASDataType.GDAY_DATATYPE
- The value of the constant ASDataType.GDAY_DATATYPE is
115.
- ASDataType.GMONTH_DATATYPE
- The value of the constant ASDataType.GMONTH_DATATYPE is
116.
- ASDataType.INTEGER
- The value of the constant ASDataType.INTEGER is
117.
- ASDataType.NAME_DATATYPE
- The value of the constant ASDataType.NAME_DATATYPE is
200.
- ASDataType.NCNAME_DATATYPE
- The value of the constant ASDataType.NCNAME_DATATYPE is
201.
- ASDataType.NORMALIZEDSTRING_DATATYPE
- The value of the constant
ASDataType.NORMALIZEDSTRING_DATATYPE is 202.
- ASDataType.TOKEN_DATATYPE
- The value of the constant ASDataType.TOKEN_DATATYPE is
203.
- ASDataType.LANGUAGE_DATATYPE
- The value of the constant ASDataType.LANGUAGE_DATATYPE
is 204.
- ASDataType.NONPOSITIVEINTEGER_DATATYPE
- The value of the constant
ASDataType.NONPOSITIVEINTEGER_DATATYPE is 205.
- ASDataType.NEGATIVEINTEGER_DATATYPE
- The value of the constant
ASDataType.NEGATIVEINTEGER_DATATYPE is 206.
- ASDataType.LONG_DATATYPE
- The value of the constant ASDataType.LONG_DATATYPE is
207.
- ASDataType.INT_DATATYPE
- The value of the constant ASDataType.INT_DATATYPE is
208.
- ASDataType.SHORT_DATATYPE
- The value of the constant ASDataType.SHORT_DATATYPE is
209.
- ASDataType.BYTE_DATATYPE
- The value of the constant ASDataType.BYTE_DATATYPE is
210.
- ASDataType.NONNEGATIVEINTEGER_DATATYPE
- The value of the constant
ASDataType.NONNEGATIVEINTEGER_DATATYPE is 211.
- ASDataType.UNSIGNEDLONG_DATATYPE
- The value of the constant
ASDataType.UNSIGNEDLONG_DATATYPE is 212.
- ASDataType.UNSIGNEDINT_DATATYPE
- The value of the constant
ASDataType.UNSIGNEDINT_DATATYPE is 213.
- ASDataType.UNSIGNEDSHORT_DATATYPE
- The value of the constant
ASDataType.UNSIGNEDSHORT_DATATYPE is 214.
- ASDataType.UNSIGNEDBYTE_DATATYPE
- The value of the constant
ASDataType.UNSIGNEDBYTE_DATATYPE is 215.
- ASDataType.POSITIVEINTEGER_DATATYPE
- The value of the constant
ASDataType.POSITIVEINTEGER_DATATYPE is 216.
- ASDataType.ANYSIMPLETYPE_DATATYPE
- The value of the constant
ASDataType.ANYSIMPLETYPE_DATATYPE is 216.
- ASDataType.ANYTYPE_DATATYPE
- The value of the constant ASDataType.ANYTYPE_DATATYPE is
216.
- Objects that implement the ASDataType interface:
-
- Properties of objects that implement the ASDataType
interface:
-
- dataType
- This read-only property is a Number.
- Objects that implement the ASObjectList interface:
-
- Properties of objects that implement the ASObjectList
interface:
-
- length
- This read-only property is a Number.
- Functions of objects that implement the ASObjectList
interface:
-
- item(index)
- This function returns an object that implements the
ASObject interface.
The index parameter is a Number.
Note: This object can also be dereferenced using square
bracket notation (e.g. obj[1]). Dereferencing with an integer
index is equivalent to invoking the item function
with that index.
- Objects that implement the ASNamedObjectMap
interface:
-
- Properties of objects that implement the
ASNamedObjectMap interface:
-
- length
- This read-only property is a Number.
- Functions of objects that implement the ASNamedObjectMap
interface:
-
- item(index)
- This function returns an object that implements the
ASObject interface.
The index parameter is a Number.
Note: This object can also be dereferenced using square
bracket notation (e.g. obj[1]). Dereferencing with an integer
index is equivalent to invoking the item function
with that index.
- getNamedItem(name)
- This function returns an object that implements the
ASObject interface.
The name parameter is a String.
- getNamedItemNS(namespaceURI, localName)
- This function returns an object that implements the
ASObject interface.
The namespaceURI parameter is a String.
The localName parameter is a String.
- Objects that implement the ASModel interface:
-
- Objects that implement the ASModel interface have all
properties and functions of the ASObject interface as well
as the properties and functions defined below.
- Properties of objects that implement the ASModel
interface:
-
- namespaceAware
- This read-only property is a Boolean.
- usage
- This read-only property is a Number.
- location
- This read-only property is a String.
- hint
- This read-only property is a String.
- container
- This read-only property is a Boolean.
- Functions of objects that implement the ASModel
interface:
-
- getComponents(objectType)
- This function returns an object that implements the
ASNamedObjectMap interface.
The objectType parameter is a Number.
- getElementDecl(name, targetNamespace)
- This function returns an object that implements the
ASElementDecl interface.
The name parameter is a String.
The targetNamespace parameter is a String.
- getAttributeDecl(name, targetNamespace)
- This function returns an object that implements the
ASAttributeDecl interface.
The name parameter is a String.
The targetNamespace parameter is a String.
- getEntityDecl(name)
- This function returns an object that implements the
ASEntityDecl interface.
The name parameter is a String.
- getNotationDecl(name, targetNamespace)
- This function returns an object that implements the
ASNotationDecl interface.
The name parameter is a String.
The targetNamespace parameter is a String.
- Objects that implement the ASContentModel
interface:
-
- Objects that implement the ASContentModel interface have
all properties and functions of the ASObject interface as
well as the properties and functions defined below.
- Properties of objects that implement the ASContentModel
interface:
-
- contentModelType
- This read-only property is a Number.
- minOccurs
- This read-only property is a Number.
- maxOccurs
- This read-only property is a Number.
- subModels
- This read-only property is an object that implements the
ASObjectList interface.
- Objects that implement the ASElementDecl interface:
-
- Objects that implement the ASElementDecl interface have
all properties and functions of the ASObject interface as
well as the properties and functions defined below.
- Properties of objects that implement the ASElementDecl
interface:
-
- type
- This read-only property is an object that implements the
ASDataType interface.
- contentType
- This read-only property is a Number.
- strictMixedContent
- This read-only property is a Boolean.
- contentModel
- This read-only property is an object that implements the
ASContentModel interface.
- isPCDataOnly
- This read-only property is a Boolean.
- attributeDecls
- This read-only property is an object that implements the
ASNamedObjectMap interface.
- Functions of objects that implement the ASElementDecl
interface:
-
- getAttributeDecl(name, targetNamespace)
- This function returns an object that implements the
ASAttributeDecl interface.
The name parameter is a String.
The targetNamespace parameter is a String.
- Objects that implement the ASAttributeDecl
interface:
-
- Objects that implement the ASAttributeDecl interface
have all properties and functions of the ASObject interface
as well as the properties and functions defined below.
- Properties of objects that implement the ASAttributeDecl
interface:
-
- type
- This read-only property is an object that implements the
ASDataType interface.
- enumAttr
- This read-only property is a String.
- ownerElementDeclarations
- This read-only property is an object that implements the
ASObjectList interface.
- defaultType
- This read-only property is a Number.
- value
- This read-only property is a String.
- Objects that implement the ASEntityDecl interface:
-
- Objects that implement the ASEntityDecl interface have
all properties and functions of the ASObject interface as
well as the properties and functions defined below.
- Properties of objects that implement the ASEntityDecl
interface:
-
- entityType
- This read-only property is a Number.
- entityValue
- This read-only property is a String.
- systemId
- This read-only property is a String.
- publicId
- This read-only property is a String.
- Objects that implement the ASNotationDecl
interface:
-
- Objects that implement the ASNotationDecl interface have
all properties and functions of the ASObject interface as
well as the properties and functions defined below.
- Properties of objects that implement the ASNotationDecl
interface:
-
- systemId
- This read-only property is a String.
- publicId
- This read-only property is a String.
- Objects that implement the ASWModel interface:
-
- Objects that implement the ASWModel interface have all
properties and functions of the ASModel interface as well as
the properties and functions defined below.
- Functions of objects that implement the ASWModel
interface:
-
- setLocation(location)
- This function has no return value.
The location parameter is a String.
- setHint(hint)
- This function has no return value.
The hint parameter is a String.
- addComponent(declaration)
- This function has no return value.
The declaration parameter is an object that implements the
ASObject interface.
- removeComponent(declaration)
- This function has no return value.
The declaration parameter is an object that implements the
ASObject interface.
- addASModel(declaration)
- This function has no return value.
The declaration parameter is an object that implements the
ASModel interface.
- removeASModel(declaration)
- This function has no return value.
The declaration parameter is an object that implements the
ASModel interface.
- getASModels()
- This function returns an object that implements the
ASObjectList interface.
- importASObject(asobject)
- This function returns an object that implements the
ASObject interface.
The asobject parameter is an object that implements the
ASObject interface.
- insertASObject(asobject)
- This function has no return value.
The asobject parameter is an object that implements the
ASObject interface.
- validate()
- This function returns a Boolean.
- createASWElementDecl(namespaceURI, name)
- This function returns an object that implements the
ASWElementDecl interface.
The namespaceURI parameter is a String.
The name parameter is a String.
This function can raise an object that implements the
ASException interface.
- createASWAttributeDecl(namespaceURI, name)
- This function returns an object that implements the
ASWAttributeDecl interface.
The namespaceURI parameter is a String.
The name parameter is a String.
This function can raise an object that implements the
ASException interface.
- createASWNotationDecl(namespaceURI, name, systemId,
publicId)
- This function returns an object that implements the
ASWNotationDecl interface.
The namespaceURI parameter is a String.
The name parameter is a String.
The systemId parameter is a String.
The publicId parameter is a String.
This function can raise an object that implements the
ASException interface.
- createASWEntityDecl(name)
- This function returns an object that implements the
ASWEntityDecl interface.
The name parameter is a String.
This function can raise an object that implements the
ASException interface.
- createASWContentModel(name, namespaceURI, minOccurs,
maxOccurs, operator)
- This function returns an object that implements the
ASWContentModel interface.
The name parameter is a String.
The namespaceURI parameter is a String.
The minOccurs parameter is a Number.
The maxOccurs parameter is a Number.
The operator parameter is a Number.
This function can raise an object that implements the
ASException interface.
- Objects that implement the ASWNamedObjectMap
interface:
-
- Objects that implement the ASWNamedObjectMap interface
have all properties and functions of the ASNamedObjectMap
interface as well as the properties and functions defined
below.
- Functions of objects that implement the
ASWNamedObjectMap interface:
-
- removeNamedItem(name)
- This function returns an object that implements the
ASObject interface.
The name parameter is a String.
This function can raise an object that implements the
ASException interface.
- setNamedItem(newASObject)
- This function returns an object that implements the
ASObject interface.
The newASObject parameter is an object that implements the
ASObject interface.
This function can raise an object that implements the
ASException interface or the ASException
interface.
- setNamedItemNS(arg)
- This function returns an object that implements the
ASObject interface.
The arg parameter is an object that implements the
ASObject interface.
This function can raise an object that implements the
ASException interface.
- removeNamedItemNS(namespaceURI, localName)
- This function returns an object that implements the
ASObject interface.
The namespaceURI parameter is a String.
The localName parameter is a String.
This function can raise an object that implements the
DOMException interface.
- Objects that implement the ASWElementDecl
interface:
-
- Objects that implement the ASWElementDecl interface have
all properties and functions of the ASElementDecl interface
as well as the properties and functions defined below.
- Functions of objects that implement the ASWElementDecl
interface:
-
- setRawname(rawname)
- This function has no return value.
The rawname parameter is a String.
- setName(name)
- This function has no return value.
The name parameter is a String.
- setNamespace(namespaceURI)
- This function has no return value.
The namespaceURI parameter is a String.
- setStrictMixedContent(mixedContent)
- This function has no return value.
The mixedContent parameter is a Boolean.
- setType(type)
- This function has no return value.
The type parameter is an object that implements the
ASDataType interface.
- setContentType(contentType)
- This function has no return value.
The contentType parameter is a Number.
- setContentModel(contentModel)
- This function has no return value.
The contentModel parameter is an object that implements the
ASWContentModel interface.
- addAttributeDecl(attributeDecl)
- This function has no return value.
The attributeDecl parameter is an object that implements the
ASWAttributeDecl interface.
- removeAttributeDecl(attributeDecl)
- This function returns an object that implements the
ASWAttributeDecl interface.
The attributeDecl parameter is an object that implements the
ASWAttributeDecl interface.
- Objects that implement the ASWContentModel
interface:
-
- Objects that implement the ASWContentModel interface
have all properties and functions of the ASContentModel
interface as well as the properties and functions defined
below.
- Functions of objects that implement the ASWContentModel
interface:
-
- setName(name)
- This function has no return value.
The name parameter is a String.
- setNamespaceURI(namespaceURI)
- This function has no return value.
The namespaceURI parameter is a String.
- setContentModelType(operator)
- This function has no return value.
The operator parameter is a Number.
- setMinOccurs(minOccurs)
- This function has no return value.
The minOccurs parameter is a Number.
- setMaxOccurs(maxOccurs)
- This function has no return value.
The maxOccurs parameter is a Number.
- removeSubModel(oldObject)
- This function has no return value.
The oldObject parameter is an object that implements the
ASObject interface.
- insertBeforeSubModel(newObject, refObject)
- This function returns an object that implements the
ASObject interface.
The newObject parameter is an object that implements the
ASObject interface.
The refObject parameter is an object that implements the
ASObject interface.
This function can raise an object that implements the
ASException interface.
- appendSubModel(newObject)
- This function returns a Number.
The newObject parameter is an object that implements the
ASObject interface.
This function can raise an object that implements the
ASException interface.
- Objects that implement the ASWAttributeDecl
interface:
-
- Objects that implement the ASWAttributeDecl interface
have all properties and functions of the ASAttributeDecl
interface as well as the properties and functions defined
below.
- Functions of objects that implement the ASWAttributeDecl
interface:
-
- setRawname(rawname)
- This function has no return value.
The rawname parameter is a String.
- setName(name)
- This function has no return value.
The name parameter is a String.
- setNamespaceURI(namespaceURI)
- This function has no return value.
The namespaceURI parameter is a String.
- setType(type)
- This function has no return value.
The type parameter is an object that implements the
ASDataType interface.
- setValue(value)
- This function has no return value.
The value parameter is a String.
- setEnumAttr(enumeration)
- This function has no return value.
The enumeration parameter is a String.
- setDefaultType(constraint)
- This function has no return value.
The constraint parameter is a Number.
- Objects that implement the ASWEntityDecl interface:
-
- Objects that implement the ASWEntityDecl interface have
all properties and functions of the ASEntityDecl interface
as well as the properties and functions defined below.
- Functions of objects that implement the ASWEntityDecl
interface:
-
- setRawname(rawname)
- This function has no return value.
The rawname parameter is a String.
- setEntityType(type)
- This function has no return value.
The type parameter is a Number.
- setEntityValue(value)
- This function has no return value.
The value parameter is a String.
- setSystemId(systemId)
- This function has no return value.
The systemId parameter is a String.
- setPublicId(publicId)
- This function has no return value.
The publicId parameter is a String.
- Objects that implement the ASWNotationDecl
interface:
-
- Objects that implement the ASWNotationDecl interface
have all properties and functions of the ASNotationDecl
interface as well as the properties and functions defined
below.
- Functions of objects that implement the ASWNotationDecl
interface:
-
- setRawname(rawname)
- This function has no return value.
The rawname parameter is a String.
- setName(name)
- This function has no return value.
The name parameter is a String.
- setNamespaceURI(namespaceURI)
- This function has no return value.
The namespaceURI parameter is a String.
- setSystemId(systemId)
- This function has no return value.
The systemId parameter is a String.
- setPublicId(publicId)
- This function has no return value.
The publicId parameter is a String.
- Properties of the ASException Constructor function:
-
- ASException.DUPLICATE_NAME_ERR
- The value of the constant ASException.DUPLICATE_NAME_ERR
is 1.
- ASException.TYPE_ERR
- The value of the constant ASException.TYPE_ERR is
2.
- ASException.NO_AS_AVAILABLE
- The value of the constant ASException.NO_AS_AVAILABLE is
3.
- ASException.WRONG_MIME_TYPE_ERR
- The value of the constant
ASException.WRONG_MIME_TYPE_ERR is 4.
- ASException.INVALID_CHARACTER_ERR
- The value of the constant
ASException.INVALID_CHARACTER_ERR is 5.
- ASException.VALIDATION_ERR
- The value of the constant ASException.VALIDATION_ERR is
6.
- ASException.ACTIVEAS_DELETION_ERR
- The value of the constant
ASException.ACTIVEAS_DELETION_ERR is 7.
- Objects that implement the ASException interface:
-
- Properties of objects that implement the ASException
interface:
-
- code
- This property is a Number.
- Objects that implement the DocumentAS interface:
-
- Objects that implement the DocumentAS interface have all
properties and functions of the Document interface as well
as the properties and functions defined below.
- Properties of objects that implement the DocumentAS
interface:
-
- activeASModel
- This property is an object that implements the ASModel
interface.
- boundASModels
- This property is an object that implements the
ASObjectList interface.
- Functions of objects that implement the DocumentAS
interface:
-
- getInternalAS()
- This function returns an object that implements the
ASModel interface.
- setInternalAS(as)
- This function has no return value.
The as parameter is an object that implements the
ASModel interface.
This function can raise an object that implements the
DOMException interface.
- addAS(as)
- This function has no return value.
The as parameter is an object that implements the
ASModel interface.
- removeAS(as)
- This function has no return value.
The as parameter is an object that implements the
ASModel interface.
This function can raise an object that implements the
ASException interface.
- getElementDecl(node)
- This function returns an object that implements the
ASElementDecl interface.
The node parameter is an object that implements the
Element interface.
This function can raise an object that implements the
DOMException interface.
- getAttributeDecl(node)
- This function returns an object that implements the
ASAttributeDecl interface.
The node parameter is an object that implements the
Attr interface.
This function can raise an object that implements the
DOMException interface.
- getEntityDecl(node)
- This function returns an object that implements the
ASEntityDecl interface.
The node parameter is an object that implements the
Entity interface.
This function can raise an object that implements the
DOMException interface.
- getNotationDecl(node)
- This function returns an object that implements the
ASNotationDecl interface.
The node parameter is an object that implements the
Notation interface.
This function can raise an object that implements the
DOMException interface.
- validate()
- This function has no return value.
This function can raise an object that implements the
ASException interface.
- Objects that implement the DOMImplementationAS
interface:
-
- Objects that implement the DOMImplementationAS interface
have all properties and functions of the DOMImplementation
interface as well as the properties and functions defined
below.
- Functions of objects that implement the
DOMImplementationAS interface:
-
- createASWModel(isNamespaceAware, container,
schemaType)
- This function returns an object that implements the
ASWModel interface.
The isNamespaceAware parameter is a Boolean.
The container parameter is a Boolean.
The schemaType parameter is a String.
- Objects that implement the ASDOMBuilder interface:
-
- Objects that implement the ASDOMBuilder interface have
all properties and functions of the DOMBuilder interface as
well as the properties and functions defined below.
- Properties of objects that implement the ASDOMBuilder
interface:
-
- abstractSchema
- This property is an object that implements the ASWModel
interface.
- Functions of objects that implement the ASDOMBuilder
interface:
-
- parseASURI(uri, schemaType)
- This function returns an object that implements the
ASWModel interface.
The uri parameter is a String.
The schemaType parameter is a String.
This function can raise an object that implements the
ASException interface or the DOMSystemException
interface.
- parseASInputSource(is, schemaType)
- This function returns an object that implements the
ASWModel interface.
The is parameter is an object that implements the
DOMInputSource interface.
The schemaType parameter is a String.
This function can raise an object that implements the
ASException interface or the DOMSystemException
interface.
- Objects that implement the ASDOMWriter interface:
-
- Objects that implement the ASDOMWriter interface have
all properties and functions of the DOMWriter interface as
well as the properties and functions defined below.
- Functions of objects that implement the ASDOMWriter
interface:
-
- writeASModel(destination, model)
- This function has no return value.
The destination parameter is an object that implements the
Object interface.
The model parameter is an object that implements the
ASModel interface.
This function can raise an object that implements the
DOMSystemException interface.