Public Member Functions | Protected Member Functions | Package Functions

org.exolab.castor.xml.schema.DeferredSimpleType Class Reference

Inheritance diagram for org.exolab.castor.xml.schema.DeferredSimpleType:
org.exolab.castor.xml.schema.SimpleType org.exolab.castor.xml.schema.XMLType org.exolab.castor.xml.schema.Referable org.exolab.castor.xml.schema.Annotated org.exolab.castor.xml.schema.Structure

List of all members.

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 ()

Detailed Description

Package private class to handle the case where a simple type can't be instanciated because its parent has not yet been read.

Author:
Arnaud Berry
Version:
$Revision:

Constructor & Destructor Documentation

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

Parameters:
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

Parameters:
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().


Member Function Documentation

synchronized void org.exolab.castor.xml.schema.DeferredSimpleType.createInstance (  )  [protected]
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().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties