org.exolab.castor.xml.schema.reader
class SimpleTypeDefinition extends Object
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:42 $
| 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: baseType the base type for this SimpleTypeDefinition
Parameters: finalValue the value of the final property.