Appendix C: ECMAScript Language Binding
This appendix contains the complete ECMAScript
[ECMAScript] binding for the XML Schema API.
- Objects that implement the XSNamedMap interface:
-
- Properties of objects that implement the XSNamedMap interface:
- length
-
This read-only property is a Number.
- Functions of objects that implement the XSNamedMap interface:
- item(index)
- This function returns an object that implements the XSObject 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.
- itemByName(namespace, localName)
- This function returns an object that implements the XSObject interface.
The namespace parameter is a String.
The localName parameter is a String.
- Objects that implement the XSObjectList interface:
-
- Properties of objects that implement the XSObjectList interface:
- length
-
This read-only property is a Number.
- Functions of objects that implement the XSObjectList interface:
- item(index)
- This function returns an object that implements the XSObject 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 XSNamespaceItemList interface:
-
- Properties of objects that implement the XSNamespaceItemList interface:
- length
-
This read-only property is a Number.
- Functions of objects that implement the XSNamespaceItemList interface:
- item(index)
- This function returns an object that implements the XSNamespaceItem 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 StringList interface:
-
- Properties of objects that implement the StringList interface:
- length
-
This read-only property is a Number.
- Functions of objects that implement the StringList interface:
- contains(item)
- This function returns a Boolean.
The item parameter is a String.
- item(index)
- This function returns a String.
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 LSInputList interface:
-
- Properties of objects that implement the LSInputList interface:
- length
-
This read-only property is a Number.
- Functions of objects that implement the LSInputList interface:
- item(index)
- This function returns an object that implements the LSInput 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 ShortList interface:
-
- Properties of objects that implement the ShortList interface:
- length
-
This read-only property is a Number.
- Functions of objects that implement the ShortList interface:
- contains(item)
- This function returns a Boolean.
The item parameter is a Number.
- item(index)
- This function returns a Number.
The index parameter is a Number.
This function can raise an object that implements the XSException interface.
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.
- Properties of the XSException Constructor function:
-
- XSException.NOT_SUPPORTED_ERR
-
The value of the constant XSException.NOT_SUPPORTED_ERR is 1.
- XSException.INDEX_SIZE_ERR
-
The value of the constant XSException.INDEX_SIZE_ERR is 2.
- Objects that implement the XSException interface:
-
- Properties of objects that implement the XSException interface:
- code
-
This property is
a Number.
- Objects that implement the XSObject interface:
-
- Properties of objects that implement the XSObject interface:
- type
-
This read-only property is a Number.
- name
-
This read-only property is a String.
- namespace
-
This read-only property is a String.
- namespaceItem
-
This read-only property is an object that implements the XSNamespaceItem interface.
- Properties of the XSConstants Constructor function:
-
- XSConstants.ATTRIBUTE_DECLARATION
-
The value of the constant XSConstants.ATTRIBUTE_DECLARATION is 1.
- XSConstants.ELEMENT_DECLARATION
-
The value of the constant XSConstants.ELEMENT_DECLARATION is 2.
- XSConstants.TYPE_DEFINITION
-
The value of the constant XSConstants.TYPE_DEFINITION is 3.
- XSConstants.ATTRIBUTE_USE
-
The value of the constant XSConstants.ATTRIBUTE_USE is 4.
- XSConstants.ATTRIBUTE_GROUP
-
The value of the constant XSConstants.ATTRIBUTE_GROUP is 5.
- XSConstants.MODEL_GROUP_DEFINITION
-
The value of the constant XSConstants.MODEL_GROUP_DEFINITION is 6.
- XSConstants.MODEL_GROUP
-
The value of the constant XSConstants.MODEL_GROUP is 7.
- XSConstants.PARTICLE
-
The value of the constant XSConstants.PARTICLE is 8.
- XSConstants.WILDCARD
-
The value of the constant XSConstants.WILDCARD is 9.
- XSConstants.IDENTITY_CONSTRAINT
-
The value of the constant XSConstants.IDENTITY_CONSTRAINT is 10.
- XSConstants.NOTATION_DECLARATION
-
The value of the constant XSConstants.NOTATION_DECLARATION is 11.
- XSConstants.ANNOTATION
-
The value of the constant XSConstants.ANNOTATION is 12.
- XSConstants.FACET
-
The value of the constant XSConstants.FACET is 13.
- XSConstants.MULTIVALUE_FACET
-
The value of the constant XSConstants.MULTIVALUE_FACET is 14.
- XSConstants.DERIVATION_NONE
-
The value of the constant XSConstants.DERIVATION_NONE is 0.
- XSConstants.DERIVATION_EXTENSION
-
The value of the constant XSConstants.DERIVATION_EXTENSION is 1.
- XSConstants.DERIVATION_RESTRICTION
-
The value of the constant XSConstants.DERIVATION_RESTRICTION is 2.
- XSConstants.DERIVATION_SUBSTITUTION
-
The value of the constant XSConstants.DERIVATION_SUBSTITUTION is 4.
- XSConstants.DERIVATION_UNION
-
The value of the constant XSConstants.DERIVATION_UNION is 8.
- XSConstants.DERIVATION_LIST
-
The value of the constant XSConstants.DERIVATION_LIST is 16.
- XSConstants.SCOPE_ABSENT
-
The value of the constant XSConstants.SCOPE_ABSENT is 0.
- XSConstants.SCOPE_GLOBAL
-
The value of the constant XSConstants.SCOPE_GLOBAL is 1.
- XSConstants.SCOPE_LOCAL
-
The value of the constant XSConstants.SCOPE_LOCAL is 2.
- XSConstants.VC_NONE
-
The value of the constant XSConstants.VC_NONE is 0.
- XSConstants.VC_DEFAULT
-
The value of the constant XSConstants.VC_DEFAULT is 1.
- XSConstants.VC_FIXED
-
The value of the constant XSConstants.VC_FIXED is 2.
- XSConstants.ANYSIMPLETYPE_DT
-
The value of the constant XSConstants.ANYSIMPLETYPE_DT is 1.
- XSConstants.STRING_DT
-
The value of the constant XSConstants.STRING_DT is 2.
- XSConstants.BOOLEAN_DT
-
The value of the constant XSConstants.BOOLEAN_DT is 3.
- XSConstants.DECIMAL_DT
-
The value of the constant XSConstants.DECIMAL_DT is 4.
- XSConstants.FLOAT_DT
-
The value of the constant XSConstants.FLOAT_DT is 5.
- XSConstants.DOUBLE_DT
-
The value of the constant XSConstants.DOUBLE_DT is 6.
- XSConstants.DURATION_DT
-
The value of the constant XSConstants.DURATION_DT is 7.
- XSConstants.DATETIME_DT
-
The value of the constant XSConstants.DATETIME_DT is 8.
- XSConstants.TIME_DT
-
The value of the constant XSConstants.TIME_DT is 9.
- XSConstants.DATE_DT
-
The value of the constant XSConstants.DATE_DT is 10.
- XSConstants.GYEARMONTH_DT
-
The value of the constant XSConstants.GYEARMONTH_DT is 11.
- XSConstants.GYEAR_DT
-
The value of the constant XSConstants.GYEAR_DT is 12.
- XSConstants.GMONTHDAY_DT
-
The value of the constant XSConstants.GMONTHDAY_DT is 13.
- XSConstants.GDAY_DT
-
The value of the constant XSConstants.GDAY_DT is 14.
- XSConstants.GMONTH_DT
-
The value of the constant XSConstants.GMONTH_DT is 15.
- XSConstants.HEXBINARY_DT
-
The value of the constant XSConstants.HEXBINARY_DT is 16.
- XSConstants.BASE64BINARY_DT
-
The value of the constant XSConstants.BASE64BINARY_DT is 17.
- XSConstants.ANYURI_DT
-
The value of the constant XSConstants.ANYURI_DT is 18.
- XSConstants.QNAME_DT
-
The value of the constant XSConstants.QNAME_DT is 19.
- XSConstants.NOTATION_DT
-
The value of the constant XSConstants.NOTATION_DT is 20.
- XSConstants.NORMALIZEDSTRING_DT
-
The value of the constant XSConstants.NORMALIZEDSTRING_DT is 21.
- XSConstants.TOKEN_DT
-
The value of the constant XSConstants.TOKEN_DT is 22.
- XSConstants.LANGUAGE_DT
-
The value of the constant XSConstants.LANGUAGE_DT is 23.
- XSConstants.NMTOKEN_DT
-
The value of the constant XSConstants.NMTOKEN_DT is 24.
- XSConstants.NAME_DT
-
The value of the constant XSConstants.NAME_DT is 25.
- XSConstants.NCNAME_DT
-
The value of the constant XSConstants.NCNAME_DT is 26.
- XSConstants.ID_DT
-
The value of the constant XSConstants.ID_DT is 27.
- XSConstants.IDREF_DT
-
The value of the constant XSConstants.IDREF_DT is 28.
- XSConstants.ENTITY_DT
-
The value of the constant XSConstants.ENTITY_DT is 29.
- XSConstants.INTEGER_DT
-
The value of the constant XSConstants.INTEGER_DT is 30.
- XSConstants.NONPOSITIVEINTEGER_DT
-
The value of the constant XSConstants.NONPOSITIVEINTEGER_DT is 31.
- XSConstants.NEGATIVEINTEGER_DT
-
The value of the constant XSConstants.NEGATIVEINTEGER_DT is 32.
- XSConstants.LONG_DT
-
The value of the constant XSConstants.LONG_DT is 33.
- XSConstants.INT_DT
-
The value of the constant XSConstants.INT_DT is 34.
- XSConstants.SHORT_DT
-
The value of the constant XSConstants.SHORT_DT is 35.
- XSConstants.BYTE_DT
-
The value of the constant XSConstants.BYTE_DT is 36.
- XSConstants.NONNEGATIVEINTEGER_DT
-
The value of the constant XSConstants.NONNEGATIVEINTEGER_DT is 37.
- XSConstants.UNSIGNEDLONG_DT
-
The value of the constant XSConstants.UNSIGNEDLONG_DT is 38.
- XSConstants.UNSIGNEDINT_DT
-
The value of the constant XSConstants.UNSIGNEDINT_DT is 39.
- XSConstants.UNSIGNEDSHORT_DT
-
The value of the constant XSConstants.UNSIGNEDSHORT_DT is 40.
- XSConstants.UNSIGNEDBYTE_DT
-
The value of the constant XSConstants.UNSIGNEDBYTE_DT is 41.
- XSConstants.POSITIVEINTEGER_DT
-
The value of the constant XSConstants.POSITIVEINTEGER_DT is 42.
- XSConstants.LISTOFUNION_DT
-
The value of the constant XSConstants.LISTOFUNION_DT is 43.
- XSConstants.LIST_DT
-
The value of the constant XSConstants.LIST_DT is 44.
- XSConstants.UNAVAILABLE_DT
-
The value of the constant XSConstants.UNAVAILABLE_DT is 45.
- Objects that implement the XSConstants interface:
-
- Objects that implement the XSModel interface:
-
- Properties of objects that implement the XSModel interface:
- namespaces
-
This read-only property is an object that implements the StringList interface.
- namespaceItems
-
This read-only property is an object that implements the XSNamespaceItemList interface.
- annotations
-
This read-only property is an object that implements the XSObjectList interface.
- Functions of objects that implement the XSModel interface:
- getComponents(objectType)
- This function returns an object that implements the XSNamedMap interface.
The objectType parameter is a Number.
- getComponentsByNamespace(objectType, namespace)
- This function returns an object that implements the XSNamedMap interface.
The objectType parameter is a Number.
The namespace parameter is a String.
- getElementDeclaration(namespace, name)
- This function returns an object that implements the XSElementDeclaration interface.
The namespace parameter is a String.
The name parameter is a String.
- getAttributeDeclaration(namespace, name)
- This function returns an object that implements the XSAttributeDeclaration interface.
The namespace parameter is a String.
The name parameter is a String.
- getTypeDefinition(namespace, name)
- This function returns an object that implements the XSTypeDefinition interface.
The namespace parameter is a String.
The name parameter is a String.
- getAttributeGroup(namespace, name)
- This function returns an object that implements the XSAttributeGroupDefinition interface.
The namespace parameter is a String.
The name parameter is a String.
- getModelGroupDefinition(namespace, name)
- This function returns an object that implements the XSModelGroupDefinition interface.
The namespace parameter is a String.
The name parameter is a String.
- getNotationDeclaration(namespace, name)
- This function returns an object that implements the XSNotationDeclaration interface.
The namespace parameter is a String.
The name parameter is a String.
- Objects that implement the XSNamespaceItem interface:
-
- Properties of objects that implement the XSNamespaceItem interface:
- schemaNamespace
-
This read-only property is a String.
- annotations
-
This read-only property is an object that implements the XSObjectList interface.
- documentLocations
-
This read-only property is an object that implements the StringList interface.
- Functions of objects that implement the XSNamespaceItem interface:
- getComponents(objectType)
- This function returns an object that implements the XSNamedMap interface.
The objectType parameter is a Number.
- getElementDeclaration(name)
- This function returns an object that implements the XSElementDeclaration interface.
The name parameter is a String.
- getAttributeDeclaration(name)
- This function returns an object that implements the XSAttributeDeclaration interface.
The name parameter is a String.
- getTypeDefinition(name)
- This function returns an object that implements the XSTypeDefinition interface.
The name parameter is a String.
- getAttributeGroup(name)
- This function returns an object that implements the XSAttributeGroupDefinition interface.
The name parameter is a String.
- getModelGroupDefinition(name)
- This function returns an object that implements the XSModelGroupDefinition interface.
The name parameter is a String.
- getNotationDeclaration(name)
- This function returns an object that implements the XSNotationDeclaration interface.
The name parameter is a String.
- Objects that implement the XSAttributeDeclaration interface:
-
- Objects that implement the XSAttributeDeclaration interface have all properties and functions of the XSObject interface as well as the properties and functions defined below.
- Properties of objects that implement the XSAttributeDeclaration interface:
- typeDefinition
-
This read-only property is an object that implements the XSSimpleTypeDefinition interface.
- scope
-
This read-only property is a Number.
- enclosingCTDefinition
-
This read-only property is an object that implements the XSComplexTypeDefinition interface.
- constraintType
-
This read-only property is a Number.
- constraintValue
-
This read-only property is a String.
- actualVC
-
This read-only property is an object that implements the Object interface and can raise an object that implements the XSException interface on retrieval.
- actualVCType
-
This read-only property is a Number and can raise an object that implements the XSException interface on retrieval.
- itemValueTypes
-
This read-only property is an object that implements the ShortList interface and can raise an object that implements the XSException interface on retrieval.
- annotation
-
This read-only property is an object that implements the XSAnnotation interface.
- Objects that implement the XSElementDeclaration interface:
-
- Objects that implement the XSElementDeclaration interface have all properties and functions of the XSTerm interface as well as the properties and functions defined below.
- Properties of objects that implement the XSElementDeclaration interface:
- typeDefinition
-
This read-only property is an object that implements the XSTypeDefinition interface.
- scope
-
This read-only property is a Number.
- enclosingCTDefinition
-
This read-only property is an object that implements the XSComplexTypeDefinition interface.
- constraintType
-
This read-only property is a Number.
- constraintValue
-
This read-only property is a String.
- actualVC
-
This read-only property is an object that implements the Object interface and can raise an object that implements the XSException interface on retrieval.
- actualVCType
-
This read-only property is a Number and can raise an object that implements the XSException interface on retrieval.
- itemValueTypes
-
This read-only property is an object that implements the ShortList interface and can raise an object that implements the XSException interface on retrieval.
- nillable
-
This read-only property is a Boolean.
- identityConstraints
-
This read-only property is an object that implements the XSNamedMap interface.
- substitutionGroupAffiliation
-
This read-only property is an object that implements the XSElementDeclaration interface.
- substitutionGroupExclusions
-
This read-only property is a Number.
- disallowedSubstitutions
-
This read-only property is a Number.
- abstract
-
This read-only property is a Boolean.
- annotation
-
This read-only property is an object that implements the XSAnnotation interface.
- Functions of objects that implement the XSElementDeclaration interface:
- isSubstitutionGroupExclusion(exclusion)
- This function returns a Boolean.
The exclusion parameter is a Number.
- isDisallowedSubstitution(disallowed)
- This function returns a Boolean.
The disallowed parameter is a Number.
- Properties of the XSTypeDefinition Constructor function:
-
- XSTypeDefinition.COMPLEX_TYPE
-
The value of the constant XSTypeDefinition.COMPLEX_TYPE is 15.
- XSTypeDefinition.SIMPLE_TYPE
-
The value of the constant XSTypeDefinition.SIMPLE_TYPE is 16.
- Objects that implement the XSTypeDefinition interface:
-
- Objects that implement the XSTypeDefinition interface have all properties and functions of the XSObject interface as well as the properties and functions defined below.
- Properties of objects that implement the XSTypeDefinition interface:
- typeCategory
-
This read-only property is a Number.
- baseType
-
This read-only property is an object that implements the XSTypeDefinition interface.
- final
-
This read-only property is a Number.
- anonymous
-
This read-only property is a Boolean.
- Functions of objects that implement the XSTypeDefinition interface:
- isFinal(restriction)
- This function returns a Boolean.
The restriction parameter is a Number.
- derivedFromType(ancestorType, derivationMethod)
- This function returns a Boolean.
The ancestorType parameter is an object that implements the XSTypeDefinition interface.
The derivationMethod parameter is a Number.
- derivedFrom(namespace, name, derivationMethod)
- This function returns a Boolean.
The namespace parameter is a String.
The name parameter is a String.
The derivationMethod parameter is a Number.
- Properties of the XSComplexTypeDefinition Constructor function:
-
- XSComplexTypeDefinition.CONTENTTYPE_EMPTY
-
The value of the constant XSComplexTypeDefinition.CONTENTTYPE_EMPTY is 0.
- XSComplexTypeDefinition.CONTENTTYPE_SIMPLE
-
The value of the constant XSComplexTypeDefinition.CONTENTTYPE_SIMPLE is 1.
- XSComplexTypeDefinition.CONTENTTYPE_ELEMENT
-
The value of the constant XSComplexTypeDefinition.CONTENTTYPE_ELEMENT is 2.
- XSComplexTypeDefinition.CONTENTTYPE_MIXED
-
The value of the constant XSComplexTypeDefinition.CONTENTTYPE_MIXED is 3.
- Objects that implement the XSComplexTypeDefinition interface:
-
- Objects that implement the XSComplexTypeDefinition interface have all properties and functions of the XSTypeDefinition interface as well as the properties and functions defined below.
- Properties of objects that implement the XSComplexTypeDefinition interface:
- derivationMethod
-
This read-only property is a Number.
- abstract
-
This read-only property is a Boolean.
- attributeUses
-
This read-only property is an object that implements the XSObjectList interface.
- attributeWildcard
-
This read-only property is an object that implements the XSWildcard interface.
- contentType
-
This read-only property is a Number.
- simpleType
-
This read-only property is an object that implements the XSSimpleTypeDefinition interface.
- particle
-
This read-only property is an object that implements the XSParticle interface.
- prohibitedSubstitutions
-
This read-only property is a Number.
- annotations
-
This read-only property is an object that implements the XSObjectList interface.
- Functions of objects that implement the XSComplexTypeDefinition interface:
- isProhibitedSubstitution(restriction)
- This function returns a Boolean.
The restriction parameter is a Number.
- Properties of the XSSimpleTypeDefinition Constructor function:
-
- XSSimpleTypeDefinition.VARIETY_ABSENT
-
The value of the constant XSSimpleTypeDefinition.VARIETY_ABSENT is 0.
- XSSimpleTypeDefinition.VARIETY_ATOMIC
-
The value of the constant XSSimpleTypeDefinition.VARIETY_ATOMIC is 1.
- XSSimpleTypeDefinition.VARIETY_LIST
-
The value of the constant XSSimpleTypeDefinition.VARIETY_LIST is 2.
- XSSimpleTypeDefinition.VARIETY_UNION
-
The value of the constant XSSimpleTypeDefinition.VARIETY_UNION is 3.
- XSSimpleTypeDefinition.FACET_NONE
-
The value of the constant XSSimpleTypeDefinition.FACET_NONE is 0.
- XSSimpleTypeDefinition.FACET_LENGTH
-
The value of the constant XSSimpleTypeDefinition.FACET_LENGTH is 1.
- XSSimpleTypeDefinition.FACET_MINLENGTH
-
The value of the constant XSSimpleTypeDefinition.FACET_MINLENGTH is 2.
- XSSimpleTypeDefinition.FACET_MAXLENGTH
-
The value of the constant XSSimpleTypeDefinition.FACET_MAXLENGTH is 4.
- XSSimpleTypeDefinition.FACET_PATTERN
-
The value of the constant XSSimpleTypeDefinition.FACET_PATTERN is 8.
- XSSimpleTypeDefinition.FACET_WHITESPACE
-
The value of the constant XSSimpleTypeDefinition.FACET_WHITESPACE is 16.
- XSSimpleTypeDefinition.FACET_MAXINCLUSIVE
-
The value of the constant XSSimpleTypeDefinition.FACET_MAXINCLUSIVE is 32.
- XSSimpleTypeDefinition.FACET_MAXEXCLUSIVE
-
The value of the constant XSSimpleTypeDefinition.FACET_MAXEXCLUSIVE is 64.
- XSSimpleTypeDefinition.FACET_MINEXCLUSIVE
-
The value of the constant XSSimpleTypeDefinition.FACET_MINEXCLUSIVE is 128.
- XSSimpleTypeDefinition.FACET_MININCLUSIVE
-
The value of the constant XSSimpleTypeDefinition.FACET_MININCLUSIVE is 256.
- XSSimpleTypeDefinition.FACET_TOTALDIGITS
-
The value of the constant XSSimpleTypeDefinition.FACET_TOTALDIGITS is 512.
- XSSimpleTypeDefinition.FACET_FRACTIONDIGITS
-
The value of the constant XSSimpleTypeDefinition.FACET_FRACTIONDIGITS is 1024.
- XSSimpleTypeDefinition.FACET_ENUMERATION
-
The value of the constant XSSimpleTypeDefinition.FACET_ENUMERATION is 2048.
- XSSimpleTypeDefinition.ORDERED_FALSE
-
The value of the constant XSSimpleTypeDefinition.ORDERED_FALSE is 0.
- XSSimpleTypeDefinition.ORDERED_PARTIAL
-
The value of the constant XSSimpleTypeDefinition.ORDERED_PARTIAL is 1.
- XSSimpleTypeDefinition.ORDERED_TOTAL
-
The value of the constant XSSimpleTypeDefinition.ORDERED_TOTAL is 2.
- Objects that implement the XSSimpleTypeDefinition interface:
-
- Objects that implement the XSSimpleTypeDefinition interface have all properties and functions of the XSTypeDefinition interface as well as the properties and functions defined below.
- Properties of objects that implement the XSSimpleTypeDefinition interface:
- variety
-
This read-only property is a Number.
- primitiveType
-
This read-only property is an object that implements the XSSimpleTypeDefinition interface.
- builtInKind
-
This read-only property is a Number.
- itemType
-
This read-only property is an object that implements the XSSimpleTypeDefinition interface.
- memberTypes
-
This read-only property is an object that implements the XSObjectList interface.
- definedFacets
-
This read-only property is a Number.
- fixedFacets
-
This read-only property is a Number.
- lexicalEnumeration
-
This read-only property is an object that implements the StringList interface.
- lexicalPattern
-
This read-only property is an object that implements the StringList interface.
- ordered
-
This read-only property is a Number.
- finite
-
This read-only property is a Boolean.
- bounded
-
This read-only property is a Boolean.
- numeric
-
This read-only property is a Boolean.
- facets
-
This read-only property is an object that implements the XSObjectList interface.
- multiValueFacets
-
This read-only property is an object that implements the XSObjectList interface.
- annotations
-
This read-only property is an object that implements the XSObjectList interface.
- Functions of objects that implement the XSSimpleTypeDefinition interface:
- isDefinedFacet(facetName)
- This function returns a Boolean.
The facetName parameter is a Number.
- isFixedFacet(facetName)
- This function returns a Boolean.
The facetName parameter is a Number.
- getLexicalFacetValue(facetName)
- This function returns a String.
The facetName parameter is a Number.
- Objects that implement the XSFacet interface:
-
- Objects that implement the XSFacet interface have all properties and functions of the XSObject interface as well as the properties and functions defined below.
- Properties of objects that implement the XSFacet interface:
- facetKind
-
This read-only property is a Number.
- lexicalFacetValue
-
This read-only property is a String.
- fixed
-
This read-only property is a Boolean.
- annotation
-
This read-only property is an object that implements the XSAnnotation interface.
- Objects that implement the XSMultiValueFacet interface:
-
- Objects that implement the XSMultiValueFacet interface have all properties and functions of the XSObject interface as well as the properties and functions defined below.
- Properties of objects that implement the XSMultiValueFacet interface:
- facetKind
-
This read-only property is a Number.
- lexicalFacetValues
-
This read-only property is an object that implements the StringList interface.
- annotations
-
This read-only property is an object that implements the XSObjectList interface.
- Objects that implement the XSParticle interface:
-
- Objects that implement the XSParticle interface have all properties and functions of the XSObject interface as well as the properties and functions defined below.
- Properties of objects that implement the XSParticle interface:
- minOccurs
-
This read-only property is a Number.
- maxOccurs
-
This read-only property is a Number.
- maxOccursUnbounded
-
This read-only property is a Boolean.
- term
-
This read-only property is an object that implements the XSTerm interface.
- Objects that implement the XSTerm interface:
-
- Objects that implement the XSTerm interface have all properties and functions of the XSObject interface.
- Properties of the XSModelGroup Constructor function:
-
- XSModelGroup.COMPOSITOR_SEQUENCE
-
The value of the constant XSModelGroup.COMPOSITOR_SEQUENCE is 1.
- XSModelGroup.COMPOSITOR_CHOICE
-
The value of the constant XSModelGroup.COMPOSITOR_CHOICE is 2.
- XSModelGroup.COMPOSITOR_ALL
-
The value of the constant XSModelGroup.COMPOSITOR_ALL is 3.
- Objects that implement the XSModelGroup interface:
-
- Objects that implement the XSModelGroup interface have all properties and functions of the XSTerm interface as well as the properties and functions defined below.
- Properties of objects that implement the XSModelGroup interface:
- compositor
-
This read-only property is a Number.
- particles
-
This read-only property is an object that implements the XSObjectList interface.
- annotation
-
This read-only property is an object that implements the XSAnnotation interface.
- Objects that implement the XSModelGroupDefinition interface:
-
- Objects that implement the XSModelGroupDefinition interface have all properties and functions of the XSObject interface as well as the properties and functions defined below.
- Properties of objects that implement the XSModelGroupDefinition interface:
- modelGroup
-
This read-only property is an object that implements the XSModelGroup interface.
- annotation
-
This read-only property is an object that implements the XSAnnotation interface.
- Objects that implement the XSAttributeGroupDefinition interface:
-
- Objects that implement the XSAttributeGroupDefinition interface have all properties and functions of the XSObject interface as well as the properties and functions defined below.
- Properties of objects that implement the XSAttributeGroupDefinition interface:
- attributeUses
-
This read-only property is an object that implements the XSObjectList interface.
- attributeWildcard
-
This read-only property is an object that implements the XSWildcard interface.
- annotation
-
This read-only property is an object that implements the XSAnnotation interface.
- Objects that implement the XSAttributeUse interface:
-
- Objects that implement the XSAttributeUse interface have all properties and functions of the XSObject interface as well as the properties and functions defined below.
- Properties of objects that implement the XSAttributeUse interface:
- required
-
This read-only property is a Boolean.
- attrDeclaration
-
This read-only property is an object that implements the XSAttributeDeclaration interface.
- constraintType
-
This read-only property is a Number.
- constraintValue
-
This read-only property is a String.
- actualVC
-
This read-only property is an object that implements the Object interface and can raise an object that implements the XSException interface on retrieval.
- actualVCType
-
This read-only property is a Number and can raise an object that implements the XSException interface on retrieval.
- itemValueTypes
-
This read-only property is an object that implements the ShortList interface and can raise an object that implements the XSException interface on retrieval.
- Properties of the XSWildcard Constructor function:
-
- XSWildcard.NSCONSTRAINT_ANY
-
The value of the constant XSWildcard.NSCONSTRAINT_ANY is 1.
- XSWildcard.NSCONSTRAINT_NOT
-
The value of the constant XSWildcard.NSCONSTRAINT_NOT is 2.
- XSWildcard.NSCONSTRAINT_LIST
-
The value of the constant XSWildcard.NSCONSTRAINT_LIST is 3.
- XSWildcard.PC_STRICT
-
The value of the constant XSWildcard.PC_STRICT is 1.
- XSWildcard.PC_SKIP
-
The value of the constant XSWildcard.PC_SKIP is 2.
- XSWildcard.PC_LAX
-
The value of the constant XSWildcard.PC_LAX is 3.
- Objects that implement the XSWildcard interface:
-
- Objects that implement the XSWildcard interface have all properties and functions of the XSTerm interface as well as the properties and functions defined below.
- Properties of objects that implement the XSWildcard interface:
- constraintType
-
This read-only property is a Number.
- nsConstraintList
-
This read-only property is an object that implements the StringList interface.
- processContents
-
This read-only property is a Number.
- annotation
-
This read-only property is an object that implements the XSAnnotation interface.
- Properties of the XSIDCDefinition Constructor function:
-
- XSIDCDefinition.IC_KEY
-
The value of the constant XSIDCDefinition.IC_KEY is 1.
- XSIDCDefinition.IC_KEYREF
-
The value of the constant XSIDCDefinition.IC_KEYREF is 2.
- XSIDCDefinition.IC_UNIQUE
-
The value of the constant XSIDCDefinition.IC_UNIQUE is 3.
- Objects that implement the XSIDCDefinition interface:
-
- Objects that implement the XSIDCDefinition interface have all properties and functions of the XSObject interface as well as the properties and functions defined below.
- Properties of objects that implement the XSIDCDefinition interface:
- category
-
This read-only property is a Number.
- selectorStr
-
This read-only property is a String.
- fieldStrs
-
This read-only property is an object that implements the StringList interface.
- refKey
-
This read-only property is an object that implements the XSIDCDefinition interface.
- annotations
-
This read-only property is an object that implements the XSObjectList interface.
- Objects that implement the XSNotationDeclaration interface:
-
- Objects that implement the XSNotationDeclaration interface have all properties and functions of the XSObject interface as well as the properties and functions defined below.
- Properties of objects that implement the XSNotationDeclaration interface:
- systemId
-
This read-only property is a String.
- publicId
-
This read-only property is a String.
- annotation
-
This read-only property is an object that implements the XSAnnotation interface.
- Properties of the XSAnnotation Constructor function:
-
- XSAnnotation.W3C_DOM_ELEMENT
-
The value of the constant XSAnnotation.W3C_DOM_ELEMENT is 1.
- XSAnnotation.SAX_CONTENTHANDLER
-
The value of the constant XSAnnotation.SAX_CONTENTHANDLER is 2.
- XSAnnotation.W3C_DOM_DOCUMENT
-
The value of the constant XSAnnotation.W3C_DOM_DOCUMENT is 3.
- Objects that implement the XSAnnotation interface:
-
- Objects that implement the XSAnnotation interface have all properties and functions of the XSObject interface as well as the properties and functions defined below.
- Properties of objects that implement the XSAnnotation interface:
- annotationString
-
This read-only property is a String.
- Functions of objects that implement the XSAnnotation interface:
- writeAnnotation(target, targetType)
- This function returns a Boolean.
The target parameter is an object that implements the Object interface.
The targetType parameter is a Number.
- Properties of the ItemPSVI Constructor function:
-
- ItemPSVI.VALIDITY_NOTKNOWN
-
The value of the constant ItemPSVI.VALIDITY_NOTKNOWN is 0.
- ItemPSVI.VALIDITY_INVALID
-
The value of the constant ItemPSVI.VALIDITY_INVALID is 1.
- ItemPSVI.VALIDITY_VALID
-
The value of the constant ItemPSVI.VALIDITY_VALID is 2.
- ItemPSVI.VALIDATION_NONE
-
The value of the constant ItemPSVI.VALIDATION_NONE is 0.
- ItemPSVI.VALIDATION_PARTIAL
-
The value of the constant ItemPSVI.VALIDATION_PARTIAL is 1.
- ItemPSVI.VALIDATION_FULL
-
The value of the constant ItemPSVI.VALIDATION_FULL is 2.
- Objects that implement the ItemPSVI interface:
-
- Properties of objects that implement the ItemPSVI interface:
- validationContext
-
This read-only property is a String.
- validity
-
This read-only property is a Number.
- validationAttempted
-
This read-only property is a Number.
- errorCodes
-
This read-only property is an object that implements the StringList interface.
- schemaNormalizedValue
-
This read-only property is a String.
- actualNormalizedValue
-
This read-only property is an object that implements the Object interface and can raise an object that implements the XSException interface on retrieval.
- actualNormalizedValueType
-
This read-only property is a Number and can raise an object that implements the XSException interface on retrieval.
- itemValueTypes
-
This read-only property is an object that implements the ShortList interface and can raise an object that implements the XSException interface on retrieval.
- typeDefinition
-
This read-only property is an object that implements the XSTypeDefinition interface.
- memberTypeDefinition
-
This read-only property is an object that implements the XSSimpleTypeDefinition interface.
- schemaDefault
-
This read-only property is a String.
- isSchemaSpecified
-
This read-only property is a Boolean.
- Objects that implement the ElementPSVI interface:
-
- Objects that implement the ElementPSVI interface have all properties and functions of the ItemPSVI interface as well as the properties and functions defined below.
- Properties of objects that implement the ElementPSVI interface:
- elementDeclaration
-
This read-only property is an object that implements the XSElementDeclaration interface.
- notation
-
This read-only property is an object that implements the XSNotationDeclaration interface.
- nil
-
This read-only property is a Boolean.
- schemaInformation
-
This read-only property is an object that implements the XSModel interface.
- Objects that implement the AttributePSVI interface:
-
- Objects that implement the AttributePSVI interface have all properties and functions of the ItemPSVI interface as well as the properties and functions defined below.
- Properties of objects that implement the AttributePSVI interface:
- attributeDeclaration
-
This read-only property is an object that implements the XSAttributeDeclaration interface.
- Objects that implement the PSVIProvider interface:
-
- Functions of objects that implement the PSVIProvider interface:
- getElementPSVI()
- This function returns an object that implements the ElementPSVI interface.
- getAttributePSVI(index)
- This function returns an object that implements the AttributePSVI interface.
The index parameter is a Number.
- getAttributePSVIByName(uri, localname)
- This function returns an object that implements the AttributePSVI interface.
The uri parameter is a String.
The localname parameter is a String.
- Objects that implement the XSImplementation interface:
-
- Properties of objects that implement the XSImplementation interface:
- recognizedVersions
-
This read-only property is an object that implements the StringList interface.
- Functions of objects that implement the XSImplementation interface:
- createXSLoader(versions)
- This function returns an object that implements the XSLoader interface.
The versions parameter is an object that implements the StringList interface.
This function can raise an object that implements the XSException interface.
- Objects that implement the XSLoader interface:
-
- Properties of objects that implement the XSLoader interface:
- config
-
This read-only property is an object that implements the DOMConfiguration interface.
- Functions of objects that implement the XSLoader interface:
- loadURIList(uriList)
- This function returns an object that implements the XSModel interface.
The uriList parameter is an object that implements the StringList interface.
- loadInputList(is)
- This function returns an object that implements the XSModel interface.
The is parameter is an object that implements the LSInputList interface.
- loadURI(uri)
- This function returns an object that implements the XSModel interface.
The uri parameter is a String.
- load(is)
- This function returns an object that implements the XSModel interface.
The is parameter is an object that implements the LSInput interface.