Package | Description |
---|---|
org.exolab.castor.builder |
Castor XML code generator
|
org.exolab.castor.builder.binding |
Binding File Object Model for Castor XML code generator
|
org.exolab.castor.xml.dtd |
The XML DTD Object Model
|
org.exolab.castor.xml.schema | |
org.exolab.castor.xml.schema.reader | |
org.exolab.castor.xml.schema.simpletypes | |
org.exolab.castor.xml.schema.util | |
org.exolab.castor.xml.schema.writer |
Modifier and Type | Method and Description |
---|---|
void |
SourceGenerator.generateSource(Schema schema,
String packageName)
Creates Java Source code (Object model) for the given XML Schema.
|
Constructor and Description |
---|
SGStateInfo(Schema schema,
SourceGenerator sgen)
Creates a new SGStateInfo.
|
Modifier and Type | Method and Description |
---|---|
Schema |
XMLBindingComponent.getSchema()
Returns the underlying Schema of the wrapped structure.
|
Modifier and Type | Method and Description |
---|---|
Schema |
Converter.convertDTDObjectToSchemaObject(DTDdocument dtd,
String targetNamespace,
Map nameSpaceMap)
Convert DTD document object to corresponding Schema object.
|
Modifier and Type | Method and Description |
---|---|
AttributeDecl |
Converter.convertAttribute(Attribute dtdAttribute,
Schema schema)
Convert DTD Attribute declaration to Schema Attribute Declaration.
|
Particle |
Converter.convertContentParticle(ContentParticle dtdContent,
Schema schema)
Method to convert
ContentParticle object, used to implement element content in the DTD
object model, to the corresponding object in the Schema object model:
either Group or
ElementDecl . |
ElementDecl |
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.
|
Modifier and Type | Method and Description |
---|---|
Schema |
Schema.getCachedIncludedSchema(String schemaLocation)
Returns the cached included schema with the given SchemaLocation
|
Schema |
Schema.getImportedSchema(String ns)
Returns the imported schema with the given namespace
|
Schema |
Schema.getImportedSchema(String ns,
boolean localOnly)
Returns the imported schema with the given namespace
|
protected Schema |
Schema.getMasterSchema()
Returns the master schema in which this instance of schema
is used at runtime.
|
Schema |
RedefineSchema.getOriginalSchema()
Returns the schema imported used for the redefinitions.
|
Schema |
RedefineSchema.getParentSchema()
Returns the parent schema in which this RedefineSchema is used.
|
Schema |
ElementDecl.getSchema()
Returns the XML Schema to which this element declaration belongs.
|
Schema |
ModelGroup.getSchema()
Returns the schema that contains this modelGroup definition
|
Schema |
Wildcard.getSchema()
Returns the parent schema in which this wildcard is located.
|
Schema |
AttributeDecl.getSchema()
Returns the Schema that this AttributeGroupDecl belongs to.
|
Schema |
XMLType.getSchema()
Returns the schema to which this type belongs
|
Schema |
AttributeGroupDecl.getSchema()
Returns the Schema that this AttributeGroupDecl belongs to.
|
Modifier and Type | Method and Description |
---|---|
Collection<Schema> |
Schema.getCachedIncludedSchemas()
Returns an enumeration of all the included schemas that are cached
in this XML Schema Definition.
|
Collection<Schema> |
Schema.getImportedSchema()
Returns the imported schemas of this schema
|
Modifier and Type | Method and Description |
---|---|
void |
Schema.addImportedSchema(Schema schema)
Adds the given Schema definition to this Schema definition as an imported schenma
|
void |
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 schenma
|
protected void |
Schema.setMasterSchema(Schema masterSchema)
Sets the master schema in which this instance of schema
is used at runtime.
|
void |
ModelGroup.setSchema(Schema schema)
Sets the Schema that contains this group.
|
protected void |
AttributeDecl.setSchema(Schema schema)
Set the parent schema of the current ElementDecl.
|
void |
Union.setSchema(Schema schema)
Sets the Schema for this Union.
|
void |
XMLType.setSchema(Schema schema)
Sets the name of this SimpleType
|
Constructor and Description |
---|
AnyType(Schema schema)
Creates 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 name
|
AttributeGroupDecl(Schema schema)
Creates a new AttributeGroup definition
|
AttributeGroupReference(Schema schema,
String reference)
Creates a new AttributeGroup definition
|
ComplexType(Schema schema)
Creates a new
ComplexType instance with no name. |
ComplexType(Schema schema,
String name)
Creates a new
ComplexType with the given name. |
ElementDecl(Schema schema)
Creates a new default element definition
|
ElementDecl(Schema schema,
String name)
Creates a new default element definition
|
ModelGroup(Schema schema)
Creates a new ModelGroup definition
|
ModelGroup(String name,
Schema schema)
Creates a new ModelGroup with the given name
|
RedefineSchema(Schema parentSchema)
Default constructor to create a RedefineSchema
that contains only Annotations
|
RedefineSchema(Schema parentSchema,
Schema originalSchema)
Constructs a new RedefineSchema structure
|
SimpleContent(Schema schema,
String typeName)
Creates a new SimpleContent
|
Union(Schema schema)
Creates a new Union type.
|
Modifier and Type | Method and Description |
---|---|
Schema |
SchemaLocation.getSchema()
Returns the Schema for this SchemaLocation, or null if
this SchemaLocation was not constructed with a Schema object.
|
Schema |
SchemaUnmarshaller.getSchema()
Returns the
Schema instance representing the XML schema (file) just
processed. |
Schema |
SchemaReader.read()
Reads the Schema from the source and returns the Schema object model.
|
Modifier and Type | Method and Description |
---|---|
void |
SchemaUnmarshaller.setSchema(Schema schema)
Sets the
Schema instance to be processed. |
Constructor and Description |
---|
AttributeGroupUnmarshaller(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 new
ComplexTypeUnmarshaller 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 imported
|
SchemaLocation(Schema schema,
String href)
Creates a new SchemaLocation
|
SimpleTypeDefinition(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 IdentityConstraintUnmarshaller
|
WildcardUnmarshaller(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) |
Modifier and Type | Method and Description |
---|---|
void |
ListType.setSchema(Schema schema)
Sets the Schema for this Union.
|
Constructor and Description |
---|
ListType(Schema schema)
Creates a new ListType.
|
Modifier and Type | Method and Description |
---|---|
Schema |
XMLInstance2Schema.createSchema(InputSource source)
Creates an XML Schema using the given InputSource.
|
Schema |
XMLInstance2Schema.createSchema(Reader reader)
Creates an XML Schema using the given Reader.
|
Schema |
XMLInstance2Schema.createSchema(String filename)
Creates an XML Schema using the given XML instance filename.
|
Schema |
XMLInstance2SchemaHandler.getSchema()
Returns the XML Schema object that is being used by this handler
|
Modifier and Type | Method and Description |
---|---|
void |
XMLInstance2Schema.serializeSchema(Writer dstWriter,
Schema schema)
|
Constructor and Description |
---|
XMLInstance2SchemaHandler(Schema schema)
Creates a new XMLInstance2SchemaHandler
|
Modifier and Type | Method and Description |
---|---|
void |
SchemaWriter.write(Schema schema) |
Copyright © 2022. All rights reserved.