org.exolab.castor.xml.schema.reader
class SimpleTypeDefinition extends Object
Version: $Revision: 6230 $ $Date: 2004-10-01 07:25:46 -0600 (Fri, 01 Oct 2004) $
Constructor Summary | |
---|---|
SimpleTypeDefinition(Schema schema, String name, String id) |
Method Summary | |
---|---|
void | addFacet(Facet facet)
Adds the given Facet to the list of Facets for this
SimpleTypeDefinition
|
void | copyInto(SimpleType simpleType)
Copies the name, facets and annotations of this SimpleTypeDefinition
into the given SimpleType.
|
SimpleType | createSimpleType()
Creates the SimpleType instance which represents this
SimpleTypeDefinition
|
Schema | getSchema()
Returns the Schema for this SimpleTypeDefinition
|
void | setAnnotation(Annotation annotation)
Sets the annotation for this SimpleTypeDefinition
|
void | setBaseType(SimpleType baseType)
Sets the base type for this SimpleTypeDefinition. |
void | setBaseTypeName(String baseTypeName)
Sets the base type for this SimpleTypeDefinition. |
void | setFinal(String finalValue)
Sets the value of the 'final' property, indicating which
types of derivation are not allowed. |
Parameters: facet the Facet to add
Parameters: simpleType the SimpleType to copy into.
Returns: the new SimpleType instance.
Returns: the Schema for this SimpleTypeDefinition
Parameters: annotation the Annotation for this SimpleTypeDefinition
Parameters: baseType the base type for this SimpleTypeDefinition
Parameters: baseTypeName the base type for this SimpleTypeDefinition
Parameters: finalValue the value of the final property.