org.exolab.castor.xml.schema.simpletypes
public class ListType extends SimpleType
Version: $Revision: 1.1.1.1 $ $Id: ListType.java,v 1.1.1.1 2003/03/03 07:09:44 kvisco Exp $
Constructor Summary | |
---|---|
ListType(Schema schema)
Creates a new ListType.
|
Method Summary | |
---|---|
SimpleType | getItemType()
Returns the simpleType for the items of this ListType.
|
Annotation | getLocalAnnotation()
Returns the annotation which appears local to this Union, or
null if no local annotation has been set.
|
short | getStructureType()
Returns the type of this Schema Structure |
void | setItemType(SimpleType type)
Sets the SimpleType for this ListType (the type of
item that instances of this list holds).
|
void | setItemType(String typeName)
Sets the SimpleType for this ListType (the type of
item that instances of this list holds).
|
void | setLocalAnnotation(Annotation annotation)
Sets an annotation which is local to this Union.
|
void | setSchema(Schema schema)
Sets the Schema for this Union. |
Parameters: schema the Schema for this ListType (Cannot be null)
Returns: the simpleType for the items of this ListType.
Returns: the annotation which is local to this Union.
Returns: the type of this Schema Structure
Parameters: type the SimpleType for this ListType.
Parameters: typeName the name of the SimpleType for this ListType.
Parameters: annotation the local annotation to set for this Union.
Parameters: the schema that this Union belongs to.