Linux Mac OSX Windows

  
[scriptable, uuid(3c14a021-6f4e-11d5-9b46-000064657374)]
interface nsISchema : nsISchemaComponent

Attributes


        
readonly attribute PRUint32 attributeCount

        
readonly attribute PRUint32 attributeGroupCount

        
readonly attribute nsISchemaCollection collection

        
readonly attribute PRUint32 elementCount

        
readonly attribute PRUint32 modelGroupCount

        
readonly attribute AString schemaNamespace

        
readonly attribute PRUint32 typeCount

Methods


        
nsISchemaAttribute getAttributeByIndex(in PRUint32 index)

        
nsISchemaAttribute getAttributeByName(in AString name)

        
nsISchemaAttributeGroup getAttributeGroupByIndex(in PRUint32 index)

        
nsISchemaAttributeGroup getAttributeGroupByName(in AString name)

        
nsISchemaElement getElementByIndex(in PRUint32 index)

        
nsISchemaElement getElementByName(in AString name)

        
nsISchemaModelGroup getModelGroupByIndex(in PRUint32 index)

        
nsISchemaModelGroup getModelGroupByName(in AString name)

        
nsISchemaType getTypeByIndex(in PRUint32 index)

        
nsISchemaType getTypeByName(in AString name)