Public Member Functions | |
| ListType (Schema schema) throws SchemaException | |
| SimpleType | getItemType () |
| Annotation | getLocalAnnotation () |
| short | getStructureType () |
| void | setItemType (SimpleType type) |
| void | setItemType (String typeName) |
| void | setLocalAnnotation (Annotation annotation) |
| void | setSchema (Schema schema) |
Represents a SimpleType that is a "list" of a given SimpleType.
| org.exolab.castor.xml.schema.simpletypes.ListType.ListType | ( | Schema | schema | ) | throws SchemaException |
| SimpleType org.exolab.castor.xml.schema.simpletypes.ListType.getItemType | ( | ) |
Returns the simpleType for the items of this ListType.
References org.exolab.castor.xml.schema.XMLType.getName(), and org.exolab.castor.xml.schema.SimpleType.resolveReference().
| Annotation org.exolab.castor.xml.schema.simpletypes.ListType.getLocalAnnotation | ( | ) |
| short org.exolab.castor.xml.schema.simpletypes.ListType.getStructureType | ( | ) |
Returns the type of this Schema Structure
Reimplemented from org.exolab.castor.xml.schema.SimpleType.
| void org.exolab.castor.xml.schema.simpletypes.ListType.setItemType | ( | String | typeName | ) |
Sets the SimpleType for this ListType (the type of item that instances of this list holds).
| typeName | the name of the SimpleType for this ListType. |
References org.exolab.castor.xml.schema.SimpleType.createReference(), and org.exolab.castor.xml.schema.XMLType.setBaseType().
| void org.exolab.castor.xml.schema.simpletypes.ListType.setItemType | ( | SimpleType | type | ) |
Sets the SimpleType for this ListType (the type of item that instances of this list holds).
| type | the SimpleType for this ListType. |
References org.exolab.castor.xml.schema.XMLType.setBaseType().
Referenced by org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.endElement(), and org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.SimpleTypeListUnmarshaller().
| void org.exolab.castor.xml.schema.simpletypes.ListType.setLocalAnnotation | ( | Annotation | annotation | ) |
Sets an annotation which is local to this Union.
| annotation | the local annotation to set for this Union. |
Referenced by org.exolab.castor.xml.schema.reader.SimpleTypeListUnmarshaller.endElement().
| void org.exolab.castor.xml.schema.simpletypes.ListType.setSchema | ( | Schema | schema | ) |
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.getSchema().
1.7.0