Public Member Functions | |
short | getStructureType () |
void | validate () throws ValidationException |
Protected Member Functions | |
void | setParent (Structure parent) |
Package Functions | |
XMLType | getType () |
void | resolveTypeReference () |
Package private class to handles type references.
short org.exolab.castor.xml.schema.TypeReference.getStructureType | ( | ) | [virtual] |
Returns Structure.UNKNOWN (This class should not be seen outside ElementDecl anyway)
Implements org.exolab.castor.xml.schema.Structure.
XMLType org.exolab.castor.xml.schema.TypeReference.getType | ( | ) | [package] |
Returns the referred type
Reimplemented from org.exolab.castor.xml.schema.XMLType.
References org.exolab.castor.xml.schema.TypeReference.resolveTypeReference().
void org.exolab.castor.xml.schema.TypeReference.resolveTypeReference | ( | ) | [package] |
Resolves the type reference.
References org.exolab.castor.xml.schema.Schema.getComplexType(), org.exolab.castor.xml.schema.XMLType.getName(), org.exolab.castor.xml.schema.Schema.getNamespace(), org.exolab.castor.xml.schema.XMLType.getSchema(), org.exolab.castor.xml.schema.Schema.getSchemaNamespace(), and org.exolab.castor.xml.schema.Schema.getSimpleType().
Referenced by org.exolab.castor.xml.schema.TypeReference.getType().
void org.exolab.castor.xml.schema.TypeReference.setParent | ( | Structure | parent | ) | [protected, virtual] |
Sets the parent for this Schema type
parent | the parent Structure for SchemaType |
Implements org.exolab.castor.xml.schema.XMLType.
void org.exolab.castor.xml.schema.TypeReference.validate | ( | ) | throws ValidationException [virtual] |
Checks the validity of this type defintion.
ValidationException | when this type definition is invalid. |
Implements org.exolab.castor.xml.schema.Structure.