Package | dom.validation |
Class | public class ContentTypeVAL |
Inheritance | ContentTypeVAL Object |
Note: Moved to ContentTypeVAL specifically for this documentation. Constants are not allowed in an interface.
See also
Constant | Defined By | ||
---|---|---|---|
DOM 3 Validation VAL_ANY_CONTENTTYPE : Number = 2 [static]
The content model contains unordered child information item(s), i.e., element, processing instruction, unexpanded entity reference, character, and
comment information items as defined in the XML Information Set. | ContentTypeVAL | ||
DOM 3 Validation VAL_ELEMENTS_CONTENTTYPE : Number = 4 [static]
The content model contains a sequence of element information items optionally separated by whitespace. | ContentTypeVAL | ||
DOM 3 Validation VAL_EMPTY_CONTENTTYPE : Number = 1 [static]
The content model does not allow any content. | ContentTypeVAL | ||
DOM 3 Validation VAL_MIXED_CONTENTTYPE : Number = 3 [static]
The content model contains a sequence of ordered element information items optionally interspersed with character data. | ContentTypeVAL | ||
DOM 3 Validation VAL_SIMPLE_CONTENTTYPE : Number = 5 [static]
The content model contains character information items. | ContentTypeVAL |
DOM 3 Validation VAL_ANY_CONTENTTYPE | Constant |
public static const VAL_ANY_CONTENTTYPE:Number = 2
Introduced in: | DOM 3 Validation |
The content model contains unordered child information item(s), i.e., element, processing instruction, unexpanded entity reference, character, and comment information items as defined in the XML Information Set. If the schema is a DTD, this corresponds to the ANY content model.
See also
DOM 3 Validation VAL_ELEMENTS_CONTENTTYPE | Constant |
public static const VAL_ELEMENTS_CONTENTTYPE:Number = 4
Introduced in: | DOM 3 Validation |
The content model contains a sequence of element information items optionally separated by whitespace. If the schema is a DTD, this is the element content content model; and if the schema is a W3C XML schema, this is the element-only content type.
See also
DOM 3 Validation VAL_EMPTY_CONTENTTYPE | Constant |
public static const VAL_EMPTY_CONTENTTYPE:Number = 1
Introduced in: | DOM 3 Validation |
The content model does not allow any content. If the schema is a W3C XML schema, this corresponds to the empty content type; and if the schema is a DTD, this corresponds to the EMPTY content model.
See also
DOM 3 Validation VAL_MIXED_CONTENTTYPE | Constant |
public static const VAL_MIXED_CONTENTTYPE:Number = 3
Introduced in: | DOM 3 Validation |
The content model contains a sequence of ordered element information items optionally interspersed with character data. If the schema is a W3C XML schema, this corresponds to the mixed content type.
See also
DOM 3 Validation VAL_SIMPLE_CONTENTTYPE | Constant |
public static const VAL_SIMPLE_CONTENTTYPE:Number = 5
Introduced in: | DOM 3 Validation |
The content model contains character information items. If the schema is a W3C XML schema, then the element has a content type of VAL_SIMPLE_CONTENTTYPE if the type of the element is a simple type definition, or the type of the element is a complexType whose {content type} is a simple type definition.
See also