org.exolab.castor.xml.schema.reader
Class SimpleTypeDefinition
java.lang.Object
org.exolab.castor.xml.schema.reader.SimpleTypeDefinition
(package private) class SimpleTypeDefinition
extends java.lang.Object
A simple class used when unmarshalling simpleTypes
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:42 $
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(String baseTypeName) - Sets the base type for this SimpleTypeDefinition.
|
(package private) void | setFinal(String finalValue) - Sets the value of the 'final' property, indicating which
types of derivation are not allowed.
|
SimpleTypeDefinition
(package private) SimpleTypeDefinition(Schema schema,
String name,
String id)
addFacet
public void addFacet(Facet facet)
Adds the given Facet to the list of Facets for this
SimpleTypeDefinition
copyInto
(package private) void copyInto(SimpleType simpleType)
Copies the name, facets and annotations of this SimpleTypeDefinition
into the given SimpleType.
simpleType
- the SimpleType to copy into.
createSimpleType
(package private) SimpleType createSimpleType()
Creates the SimpleType instance which represents this
SimpleTypeDefinition
- the new SimpleType instance.
getSchema
(package private) Schema getSchema()
Returns the Schema for this SimpleTypeDefinition
- the Schema for this SimpleTypeDefinition
setAnnotation
(package private) void setAnnotation(Annotation annotation)
Sets the annotation for this SimpleTypeDefinition
annotation
- the Annotation for this SimpleTypeDefinition
setBaseType
(package private) void setBaseType(SimpleType baseType)
Sets the base type for this SimpleTypeDefinition. This
method is mutually exclusive with #setBaseTypeName
baseType
- the base type for this SimpleTypeDefinition
setBaseTypeName
(package private) void setBaseTypeName(String baseTypeName)
Sets the base type for this SimpleTypeDefinition. This
method is mutually exclusive with #setBaseType
setFinal
(package private) void setFinal(String finalValue)
Sets the value of the 'final' property, indicating which
types of derivation are not allowed. A null value will indicate
all types of derivation (list, restriction, union) are allowed.
finalValue
- the value of the final property.
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com