Public Member Functions | |
void | setBaseTypeName (String baseTypeName) |
short | getStructureType () |
Protected Member Functions | |
synchronized void | createInstance () |
Package Functions | |
DeferredSimpleType () | |
DeferredSimpleType (String name) | |
DeferredSimpleType (String name, Schema schema) | |
XMLType | getType () |
Package private class to handle the case where a simple type can't be instanciated because its parent has not yet been read.
org.exolab.castor.xml.schema.DeferredSimpleType.DeferredSimpleType | ( | ) | [package] |
Creates a new default DeferredSimpleType.
org.exolab.castor.xml.schema.DeferredSimpleType.DeferredSimpleType | ( | String | name | ) | [package] |
Creates a new DeferredSimpleType
name | the name of the SimpleType. |
References org.exolab.castor.xml.schema.XMLType.setName().
org.exolab.castor.xml.schema.DeferredSimpleType.DeferredSimpleType | ( | String | name, | |
Schema | schema | |||
) | [package] |
Creates a new DeferredSimpleType
name | the name of the SimpleType. | |
schema | the parent Schema of the SimpleType. |
References org.exolab.castor.xml.schema.XMLType.setName(), and org.exolab.castor.xml.schema.XMLType.setSchema().
synchronized void org.exolab.castor.xml.schema.DeferredSimpleType.createInstance | ( | ) | [protected] |
Resolves the parents of this simple type in order to create the instance of the appropriate class deriving from simple type and fill it.
References org.exolab.castor.xml.schema.SimpleType.copyFacets(), org.exolab.castor.xml.schema.XMLType.getDerivationMethod(), org.exolab.castor.xml.schema.XMLType.getName(), org.exolab.castor.xml.schema.SimpleType.getParent(), org.exolab.castor.xml.schema.XMLType.getSchema(), and org.exolab.castor.xml.schema.SimpleType.setParent().
Referenced by org.exolab.castor.xml.schema.DeferredSimpleType.getType().
short org.exolab.castor.xml.schema.DeferredSimpleType.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.DeferredSimpleType.getType | ( | ) | [package] |
Package private getter of the simpleType instance.
References org.exolab.castor.xml.schema.DeferredSimpleType.createInstance().
void org.exolab.castor.xml.schema.DeferredSimpleType.setBaseTypeName | ( | String | baseTypeName | ) |
Sets the name of the base type that couldn't be resolved when this type was created.
Referenced by org.exolab.castor.xml.schema.SimpleTypesFactory.createUserSimpleType().