Uses of Class
org.exolab.castor.xml.schema.Schema
Packages that use Schema
Package
Description
Castor XML code generator
Binding File Object Model for Castor XML code generator
The XML DTD Object Model
-
Uses of Schema in org.exolab.castor.builder
Methods in org.exolab.castor.builder with parameters of type SchemaModifier and TypeMethodDescriptionfinal void
SourceGenerator.generateSource
(Schema schema, String packageName) Creates Java Source code (Object model) for the given XML Schema.Constructors in org.exolab.castor.builder with parameters of type SchemaModifierConstructorDescriptionprotected
SGStateInfo
(Schema schema, SourceGenerator sgen) Creates a new SGStateInfo. -
Uses of Schema in org.exolab.castor.builder.binding
Methods in org.exolab.castor.builder.binding that return Schema -
Uses of Schema in org.exolab.castor.xml.dtd
Methods in org.exolab.castor.xml.dtd that return SchemaModifier and TypeMethodDescriptionConverter.convertDTDObjectToSchemaObject
(DTDdocument dtd, String targetNamespace, Map<String, String> nameSpaceMap) Convert DTD document object to corresponding Schema object.Methods in org.exolab.castor.xml.dtd with parameters of type SchemaModifier and TypeMethodDescriptionConverter.convertAttribute
(Attribute dtdAttribute, Schema schema) Convert DTD Attribute declaration to Schema Attribute Declaration.Converter.convertContentParticle
(ContentParticle dtdContent, Schema schema) Method to convertContentParticle
object, used to implement element content in the DTD object model, to the corresponding object in the Schema object model: eitherGroup
orElementDecl
.Converter.convertDTDElementToSchemaElement
(Element dtdElement, Schema schema) Convert DTD Element declaration to Schema Element Declaration.void
Converter.marshalSchema
(Schema schema, Writer writer) Marshals XML Schema to output char stream. -
Uses of Schema in org.exolab.castor.xml.schema
Methods in org.exolab.castor.xml.schema that return SchemaModifier and TypeMethodDescriptionSchema.getCachedIncludedSchema
(String schemaLocation) Returns the cached included schema with the given SchemaLocationSchema.getImportedSchema
(String ns) Returns the imported schema with the given namespaceSchema.getImportedSchema
(String ns, boolean localOnly) Returns the imported schema with the given namespaceprotected Schema
Schema.getMasterSchema()
Returns the master schema in which this instance of schema is used at runtime.RedefineSchema.getOriginalSchema()
Returns the schema imported used for the redefinitions.RedefineSchema.getParentSchema()
Returns the parent schema in which this RedefineSchema is used.AttributeDecl.getSchema()
Returns the Schema that this AttributeGroupDecl belongs to.AttributeGroupDecl.getSchema()
Returns the Schema that this AttributeGroupDecl belongs to.ElementDecl.getSchema()
Returns the XML Schema to which this element declaration belongs.ModelGroup.getSchema()
Returns the schema that contains this modelGroup definitionWildcard.getSchema()
Returns the parent schema in which this wildcard is located.XMLType.getSchema()
Returns the schema to which this type belongsMethods in org.exolab.castor.xml.schema that return types with arguments of type SchemaModifier and TypeMethodDescriptionSchema.getCachedIncludedSchemas()
Returns an enumeration of all the included schemas that are cached in this XML Schema Definition.Schema.getImportedSchema()
Returns the imported schemas of this schemaMethods in org.exolab.castor.xml.schema with parameters of type SchemaModifier and TypeMethodDescriptionvoid
Schema.addImportedSchema
(Schema schema) Adds the given Schema definition to this Schema definition as an imported schenmavoid
Schema.cacheIncludedSchema
(Schema schema) Caches the given Schema definition as an included XML Schema of this Schema definition.boolean
Schema.removeCachedIncludedSchema
(Schema schema) Removes the given cached included schema from this Schema definition's list of cached included schema.boolean
Schema.removeImportedSchema
(Schema schema) Removes the given Schema definition from this Schema definition's list of imported schenmaprotected void
Schema.setMasterSchema
(Schema masterSchema) Sets the master schema in which this instance of schema is used at runtime.protected void
Set the parent schema of the current ElementDecl.void
Sets the Schema that contains this group.void
Sets the Schema for this Union.void
Sets the name of this SimpleTypeConstructors in org.exolab.castor.xml.schema with parameters of type SchemaModifierConstructorDescriptionCreates a new AnyType for the given Schema.AttributeDecl
(Schema schema) Creates a new AttrDecl in the given schema.AttributeDecl
(Schema schema, String name) Creates a new AttrDecl with the given nameAttributeGroupDecl
(Schema schema) Creates a new AttributeGroup definitionAttributeGroupReference
(Schema schema, String reference) Creates a new AttributeGroup definitionComplexType
(Schema schema) Creates a newComplexType
instance with no name.ComplexType
(Schema schema, String name) Creates a newComplexType
with the given name.ElementDecl
(Schema schema) Creates a new default element definitionElementDecl
(Schema schema, String name) Creates a new default element definitionModelGroup
(String name, Schema schema) Creates a new ModelGroup with the given nameModelGroup
(Schema schema) Creates a new ModelGroup definitionRedefineSchema
(Schema parentSchema) Default constructor to create a RedefineSchema that contains only AnnotationsRedefineSchema
(Schema parentSchema, Schema originalSchema) Constructs a new RedefineSchema structureSimpleContent
(Schema schema, String typeName) Creates a new SimpleContentCreates a new Union type. -
Uses of Schema in org.exolab.castor.xml.schema.reader
Methods in org.exolab.castor.xml.schema.reader that return SchemaModifier and TypeMethodDescriptionSchemaLocation.getSchema()
Returns the Schema for this SchemaLocation, or null if this SchemaLocation was not constructed with a Schema object.SchemaUnmarshaller.getSchema()
Returns theSchema
instance representing the XML schema (file) just processed.SchemaReader.read()
Reads the Schema from the source and returns the Schema object model.Methods in org.exolab.castor.xml.schema.reader with parameters of type SchemaConstructors in org.exolab.castor.xml.schema.reader with parameters of type SchemaModifierConstructorDescriptionAttributeGroupUnmarshaller
(SchemaContext schemaContext, Schema schema, AttributeSet atts) Creates a new AttributeGroupUnmarshaller.AttributeUnmarshaller
(SchemaContext schemaContext, Schema schema, AttributeSet atts) ComplexTypeUnmarshaller
(SchemaContext schemaContext, Schema schema, AttributeSet atts) Creates a newComplexTypeUnmarshaller
instance.ElementUnmarshaller
(SchemaContext schemaContext, Schema schema, AttributeSet atts) Creates a new ElementUnmarshaller.GroupUnmarshaller
(SchemaContext schemaContext, Schema schema, String element, AttributeSet atts) Creates a new GroupUnmarshaller.ImportUnmarshaller
(SchemaContext schemaContext, Schema schema, AttributeSet atts, URIResolver uriResolver, Locator locator, SchemaUnmarshallerState state) IncludeUnmarshaller
(SchemaContext schemaContext, Schema schema, AttributeSet atts, URIResolver uriResolver, Locator locator, SchemaUnmarshallerState state) ModelGroupUnmarshaller
(SchemaContext schemaContext, Schema schema, AttributeSet atts) Creates a new ModelGroupUnmarshaller.RedefineUnmarshaller
(SchemaContext schemaContext, Schema schema, AttributeSet atts, URIResolver uriResolver, Locator locator, SchemaUnmarshallerState state) The XML Schema importedSchemaLocation
(Schema schema, String href) Creates a new SchemaLocationSimpleTypeDefinition
(Schema schema, String name, String id) SimpleTypeUnmarshaller
(SchemaContext schemaContext, Schema schema, AttributeSet atts) Creates a new SimpleTypeUnmarshaller.UnionUnmarshaller
(SchemaContext schemaContext, Schema schema, AttributeSet atts) Creates a new IdentityConstraintUnmarshallerWildcardUnmarshaller
(SchemaContext schemaContext, AttributeGroup attGroup, Schema schema, String element, AttributeSet atts) WildcardUnmarshaller
(SchemaContext schemaContext, ComplexType complexType, Schema schema, String element, AttributeSet atts) WildcardUnmarshaller
(SchemaContext schemaContext, Group group, Schema schema, String element, AttributeSet atts) -
Uses of Schema in org.exolab.castor.xml.schema.simpletypes
Methods in org.exolab.castor.xml.schema.simpletypes with parameters of type SchemaModifier and TypeMethodDescriptionvoid
Sets the Schema for this Union.Constructors in org.exolab.castor.xml.schema.simpletypes with parameters of type Schema -
Uses of Schema in org.exolab.castor.xml.schema.util
Methods in org.exolab.castor.xml.schema.util that return SchemaModifier and TypeMethodDescriptionXMLInstance2Schema.createSchema
(Reader reader) Creates an XML Schema using the given Reader.XMLInstance2Schema.createSchema
(String filename) Creates an XML Schema using the given XML instance filename.XMLInstance2Schema.createSchema
(InputSource source) Creates an XML Schema using the given InputSource.XMLInstance2SchemaHandler.getSchema()
Returns the XML Schema object that is being used by this handlerMethods in org.exolab.castor.xml.schema.util with parameters of type SchemaModifier and TypeMethodDescriptionvoid
XMLInstance2Schema.serializeSchema
(Writer dstWriter, Schema schema) Constructors in org.exolab.castor.xml.schema.util with parameters of type SchemaModifierConstructorDescriptionXMLInstance2SchemaHandler
(Schema schema) Creates a new XMLInstance2SchemaHandler -
Uses of Schema in org.exolab.castor.xml.schema.writer
Methods in org.exolab.castor.xml.schema.writer with parameters of type Schema