Public Member Functions | |
| short | getStructureType () |
| void | setName (String name) |
| void | setSchema (Schema schema) |
Package Functions | |
| SimpleTypeReference (Schema schema, String name) | |
| XMLType | getType () |
| void | resolveTypeReference () |
Package private class to handles simple-type references.
| org.exolab.castor.xml.schema.SimpleTypeReference.SimpleTypeReference | ( | Schema | schema, | |
| String | name | |||
| ) | [package] |
Creates a new SimpleTypeReference.
| 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. |
| short org.exolab.castor.xml.schema.SimpleTypeReference.getStructureType | ( | ) |
Returns Structure.UNKNOWN (This class should not be seen outside AttributeDecl (and ElementDecl ?) anyway)
Reimplemented from org.exolab.castor.xml.schema.SimpleType.
| XMLType org.exolab.castor.xml.schema.SimpleTypeReference.getType | ( | ) | [package] |
Returns the referred type
References org.exolab.castor.xml.schema.SimpleTypeReference.resolveTypeReference().
| void org.exolab.castor.xml.schema.SimpleTypeReference.resolveTypeReference | ( | ) | [package] |
Resolves the type reference.
References org.exolab.castor.xml.schema.XMLType.getName(), org.exolab.castor.xml.schema.XMLType.getSchema(), and org.exolab.castor.xml.schema.Schema.getSimpleType().
Referenced by org.exolab.castor.xml.schema.SimpleTypeReference.getType().
| void org.exolab.castor.xml.schema.SimpleTypeReference.setName | ( | String | name | ) |
Sets the Schema for this Union. This method overloads the SimpleType.setSchema method to prevent the Schema from being changed.
| the | schema that this Union belongs to. |
References org.exolab.castor.xml.schema.XMLType.getName().
| void org.exolab.castor.xml.schema.SimpleTypeReference.setSchema | ( | Schema | schema | ) |
Sets the Schema for this SimpleTypeReference. This method overloads the SimpleType.setSchema method to prevent the Schema from being changed.
| the | schema that this SimpleType that is being referenced belongs to. |
References org.exolab.castor.xml.schema.XMLType.getSchema().
1.7.0