org.exolab.castor.xml.schema
class SimpleTypeReference extends SimpleType
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:35 $
| Constructor Summary | |
|---|---|
| SimpleTypeReference(Schema schema, String name)
Creates a new SimpleTypeReference.
| |
| Method Summary | |
|---|---|
| short | getStructureType()
Returns Structure.UNKNOWN
(This class should not be seen outside AttributeDecl (and ElementDecl ?) |
| XMLType | getType()
Returns the referred type |
| void | resolveTypeReference()
Resolves the type reference. |
| void | setName(String name)
Sets the Schema for this Union. |
| void | setSchema(Schema schema)
Sets the Schema for this SimpleTypeReference. |
Parameters: name the name of the simple type being referenced, must not be null. schema the parent Schema of the simple type being referenced, must not be null.
Parameters: the schema that this Union belongs to.
Parameters: the schema that this SimpleType that is being referenced belongs to.