org.exolab.castor.xml.schema
class SimpleTypeReference extends SimpleType
Version: $Revision: 6230 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
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: name the schema that this Union belongs to.
Parameters: schema the schema that this SimpleType that is being referenced belongs to.