|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.xml.schema.reader.SimpleTypeDefinition
class SimpleTypeDefinition
A simple class used when unmarshalling simpleTypes
Constructor Summary | |
---|---|
SimpleTypeDefinition(Schema schema,
java.lang.String name,
java.lang.String id)
|
Method Summary | |
---|---|
void |
addFacet(Facet facet)
Adds the given Facet to the list of Facets for this SimpleTypeDefinition |
(package private) void |
copyInto(SimpleType simpleType)
Copies the name, facets and annotations of this SimpleTypeDefinition into the given SimpleType. |
(package private) SimpleType |
createSimpleType()
Creates the SimpleType instance which represents this SimpleTypeDefinition |
(package private) Schema |
getSchema()
Returns the Schema for this SimpleTypeDefinition |
(package private) void |
setAnnotation(Annotation annotation)
Sets the annotation for this SimpleTypeDefinition |
(package private) void |
setBaseType(SimpleType baseType)
Sets the base type for this SimpleTypeDefinition. |
(package private) void |
setBaseTypeName(java.lang.String baseTypeName)
Sets the base type for this SimpleTypeDefinition. |
(package private) void |
setFinal(java.lang.String finalValue)
Sets the value of the 'final' property, indicating which types of derivation are not allowed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
SimpleTypeDefinition(Schema schema, java.lang.String name, java.lang.String id)
Method Detail |
---|
public void addFacet(Facet facet)
facet
- the Facet to addvoid copyInto(SimpleType simpleType)
simpleType
- the SimpleType to copy into.SimpleType createSimpleType()
Schema getSchema()
void setAnnotation(Annotation annotation)
annotation
- the Annotation for this SimpleTypeDefinitionvoid setBaseType(SimpleType baseType)
baseType
- the base type for this SimpleTypeDefinitionvoid setBaseTypeName(java.lang.String baseTypeName)
baseType
- the base type for this SimpleTypeDefinitionvoid setFinal(java.lang.String finalValue)
finalValue
- the value of the final property.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |