|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
AttributeDeclaration | An XML Schema attribute declaration. |
AttributeGroupDeclaration | An XML Schema attribute group declaration. |
AttributeGroupReference | A reference to an XML Schema attribute group. |
AttributeGroupReferenceFactory | Reference factory for XML Schema attribute group references. |
AttributeReference | A reference to an XML Schema attribute. |
AttributeReferenceFactory | Reference factory for XML Schema attribute references. |
ComplexTypeDeclaration | An XML Schema complex type declaration. |
ElementDeclaration | An XML Schema element declaration. |
ElementReference | A reference to an XML Schema element. |
ElementReferenceFactory | Reference factory for XML Schema element references. |
GroupDeclaration | An XML Schema group declaration. |
GroupReference | A reference to an XML Schema model group. |
GroupReferenceFactory | Reference factory for XML Schema model group references. |
ImportReferenceFactory | Reference factory for XML Schema imports. |
NamedDeclaration | Base class for XML Schema declarations. |
NamedReference | Base class for XML Schema references. |
NamedReferenceFactory | Base class for XML Schema reference factories. |
SchemaReference | Base class for references to XML Schema documents. |
SchemaReferenceFactory | Reference factory for XML Schema document references. |
SimpleTypeDeclaration | An XML Schema simple type declaration. |
TypeDeclaration | Base class for an XML Schema type declaration. |
TypeReference | An XML Schema type reference. |
TypeReferenceFactory | Reference factory for XML Schema type references. |
Provides dependency information for XML Schema.
This package provides declaration classes for XML Schema elements, attributes, attribute groups, model groups, complex types, and simple types. Corresponding reference classes are also provided. These classes are used to provide information about dependencies between XML schemas.
In addition, these declaration and reference classes can be used by other languages that use XML Schema datatypes (for example, WSDL, XSLT, and XQuery). If the language is an XML language, the language provider simply needs to add XDF metadata for their language which maps the attributes in that language to the corresponding reference factory classes in this package. For example, if the language defines a "type" attribute which points to an XML Schema type, the XDF metadata would be as follows:
<attributeMetadata attributeName="type"> <mmd:reference>oracle.jdeveloper.xml.schema.dependency.TypeReferenceFactory</mmd:reference> </attributeMetadata>If the language uses XML Schema import elements to import schemas, then no further steps should be required. If the language defines its own elements for importing schemas, the language provider must provide XDF references for those elements. These elements should be mapped to
SchemaReferenceFactory
or a
subclass created by the language provider. The language provider can
override the
getSchemaLocation
method to return the URL of the imported schema. This will enable the XML
Schema reference classes to locate declarations defined in those schemas.
For example, if the langauge defines an import element with a "location"
attribute containing the URL of the imported schema, the XDF metadata would
be:
<elementMetadata elementName="import"> <attributeMetadata attributeName="location"> <mmd:reference>oracle.jdeveloper.xml.schema.dependency.SchemaReferenceFactory</mmd:reference> </attributeMetadata> </elementMetadata>For non-XML languages, such as XQuery, the language provider will need to provide its own XDF references which point the XML Schema declarations. See the XDF documentation.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |