[scriptable, uuid(3c14a028-6f4e-11d5-9b46-000064657374)]
interface nsISchemaComplexType : nsISchemaType

Constants


          
const unsigned short CONTENT_MODEL_EMPTY = 1

          
const unsigned short CONTENT_MODEL_SIMPLE = 2

          
const unsigned short CONTENT_MODEL_ELEMENT_ONLY = 3

          
const unsigned short CONTENT_MODEL_MIXED = 4

          
const unsigned short DERIVATION_EXTENSION_SIMPLE = 1

          
const unsigned short DERIVATION_RESTRICTION_SIMPLE = 2

          
const unsigned short DERIVATION_EXTENSION_COMPLEX = 3

          
const unsigned short DERIVATION_RESTRICTION_COMPLEX = 4

          
const unsigned short DERIVATION_SELF_CONTAINED = 5

Attributes


          
readonly attribute boolean abstract

          
readonly attribute PRUint32 arrayDimension

          
readonly attribute nsISchemaType arrayType

          
readonly attribute PRUint32 attributeCount

          
readonly attribute nsISchemaType baseType

          
readonly attribute unsigned short contentModel

          
readonly attribute unsigned short derivation

          
readonly attribute boolean isArray

          
readonly attribute nsISchemaModelGroup modelGroup

          
readonly attribute nsISchemaSimpleType simpleBaseType

Methods


          
nsISchemaAttributeComponent getAttributeByIndex(in PRUint32 index)

          
nsISchemaAttributeComponent getAttributeByName(in AString name)