Objects of this class encapsulate data loaded from the XML Schema file that
defines an Eclipse extension point. These files are used for three reasons:
To provide grammar that can be used by validation parsers to validate
extensions that plug into this extension point
To provide additional metadata about this extension point that can be
used by PDE to provide user assistence in plug-in development
To provide enough material that can be used by tools to compose a
reference HTML documentation about this extension point.
Objects of this class can be changed if editable. Other classes can register
as change listener in order to receive notification about these changes.
Returns an array of schema elements that can be children of the provided
schema element. The information is computed based on the grammar rules in
this schema. The computation ignores number of occurances of each
element. Therefore, it will always return the same result even if there
could be only one element of a certain type in the document and it
already exists.
Parameters: element - the parent element that is used for the calculation an array of elements that can appear as children of the providedelement, according to the grammar of this schema
Returns a list of elements that correspond to the include
statements in the schema file. Included schemas are incorporated into the
model and references can be made to elements in the included files.
an array of included schema elements or a zero-size array ifnone.
Returns a total number of elements after the included schemas have been
resolved and their elements added to the list.
the total number of elements including external schemas
Returns an object that holds a reference to this schema. Descriptors are
responsible for loading and disposing schema objects and could be
implemented in various ways, depending on whether the schema is defined
inside the workspace or is referenced externally.
schema descriptor that holds this schema