Free Trial - Stylus Studio, The World's Best XML IDE!


Package com.saxonica.importer

This package contains code used to import a schema.

See:
          Description

Class Summary
AnnotationUnmarshaller A class for Unmarshalling Annotations
AttributeGroupUnmarshaller A class for Unmarshalling AttributeGroups
AttributeUnmarshaller The Unmarshaller for Attribute declarations
ComplexContentRestrictionUnmarshaller A class for unmarshalling restriction elements of a complexContent
ComplexContentUnmarshaller A class for Unmarshalling complexContent
ComplexTypeUnmarshaller A class for Unmarshalling ComplexTypes
ComponentReader The base class for separate component unmarshallers for reading an XML Schema component.
CompositorUnmarshaller A class for Unmarshalling compositors (sequence, choice, all, and sometimes group)
ElementUnmarshaller A class for Unmarshalling element definitions
ExtensionUnmarshaller A class for Unmarshalling extension elements
FacetUnmarshaller A class for Unmarshalling facets
FieldOrSelectorUnmarshaller A class for Unmarshalling Selector or Field elements for identity-constraints
GroupUnmarshaller A class for Unmarshalling a Group Definition (or Reference)
IdentityConstraintUnmarshaller A class for Unmarshalling Identity Constraints
ImportUnmarshaller  
IncludeUnmarshaller  
ListUnmarshaller A class for unmarshalling list elements of a simpleType.
RedefineUnmarshaller This class handles an xs:redefine element in a schema
Sax2ComponentReader A SAX adapter class for the ComponentReader.
SchemaNamespaceContext A class for handling Namespace declaration and scoping
SchemaReader A class for reading XML Schemas
SchemaUnmarshaller  
SelectionParser This class parses the two XPath subsets defined in XML Schema for handling the "selector" and "field" attributes of the , , and elements.
SimpleContentRestrictionUnmarshaller A class for unmarshalling restriction elements of a simpleContent
SimpleContentUnmarshaller A class for Unmarshalling simpleContent
SimpleTypeDefinition A simple type definition holds all the information about a simpleType during the course of schema processing (unmarshalling).
SimpleTypeRestrictionUnmarshaller A class for unmarshalling restriction elements of a simpleType
SimpleTypeUnmarshaller A class for Unmarshalling SimpleTypes
UnionUnmarshaller A class for Unmarshalling XML Schema Union types
UnknownUnmarshaller A class for Skipping unknown elements during unmarshalling
WildcardUnmarshaller A class for Unmarshalling WildCard
 

Package com.saxonica.importer Description

This package contains code used to import a schema.

The code is derived from Castor, heavily modified (though retaining the original design). Its task is to read a schema provided as a source XML document, to validate that it conforms to all the consistency rules defined in the W3C XML Schema specification, and to construct a representation of the schema using the classes in package com.saxonica.schema. The classes in the importer package are transient, they are used only during the course of constructing the schema object model.

The process operates essentially as a SAX pipeline. Each kind of element in the source schema is assigned to a specific class called an Unmarshaller, which constructs the representation of the corresponding object in the schema object model. Final validation is done when the model has been fully constructed, using validate() methods provided by the objects in the model itself.

There should be no need for user applications to use any of the classes in this package.



Stylus Studio features integrated development and debugging support for Saxon in the XQuery editor and XSLT editor.