Public Member Functions | Package Functions

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

Inheritance diagram for org.exolab.castor.xml.schema.SimpleTypeReference:
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

short getStructureType ()
void setName (String name)
void setSchema (Schema schema)

Package Functions

 SimpleTypeReference (Schema schema, String name)
XMLType getType ()
void resolveTypeReference ()

Detailed Description

Package private class to handles simple-type references.

Author:
Arnaud Berry
Keith Visco
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:09:35

Constructor & Destructor Documentation

org.exolab.castor.xml.schema.SimpleTypeReference.SimpleTypeReference ( Schema  schema,
String  name 
) [package]

Creates a new 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.

Member Function Documentation

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]
void org.exolab.castor.xml.schema.SimpleTypeReference.resolveTypeReference (  )  [package]
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.

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

Parameters:
the schema that this SimpleType that is being referenced belongs to.

References org.exolab.castor.xml.schema.XMLType.getSchema().


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