Public Member Functions | |
| void | addFacet (Facet facet) |
Package Functions | |
| SimpleTypeDefinition (Schema schema, String name, String id) | |
| void | copyInto (SimpleType simpleType) |
| SimpleType | createSimpleType () |
| Schema | getSchema () |
| void | setAnnotation (Annotation annotation) |
| void | setBaseType (SimpleType baseType) |
| void | setBaseTypeName (String baseTypeName) |
| void | setFinal (String finalValue) |
A simple class used when unmarshalling simpleTypes
| org.exolab.castor.xml.schema.reader.SimpleTypeDefinition.SimpleTypeDefinition | ( | Schema | schema, | |
| String | name, | |||
| String | id | |||
| ) | [package] |
| void org.exolab.castor.xml.schema.reader.SimpleTypeDefinition.addFacet | ( | Facet | facet | ) |
Adds the given Facet to the list of Facets for this SimpleTypeDefinition
| facet | the Facet to add |
References org.exolab.castor.xml.schema.FacetList.add().
Referenced by org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller.endElement(), and org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.endElement().
| void org.exolab.castor.xml.schema.reader.SimpleTypeDefinition.copyInto | ( | SimpleType | simpleType | ) | [package] |
Copies the name, facets and annotations of this SimpleTypeDefinition into the given SimpleType.
| simpleType | the SimpleType to copy into. |
References org.exolab.castor.xml.schema.Annotated.addAnnotation(), org.exolab.castor.xml.schema.SimpleType.addFacet(), org.exolab.castor.xml.schema.FacetList.enumerate(), org.exolab.castor.xml.schema.SimpleType.setFinal(), org.exolab.castor.xml.schema.XMLType.setId(), org.exolab.castor.xml.schema.XMLType.setName(), and org.exolab.castor.xml.schema.XMLType.setSchema().
Referenced by org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller.endElement().
| SimpleType org.exolab.castor.xml.schema.reader.SimpleTypeDefinition.createSimpleType | ( | ) | [package] |
Creates the SimpleType instance which represents this SimpleTypeDefinition
References org.exolab.castor.xml.schema.Annotated.addAnnotation(), org.exolab.castor.xml.schema.SimpleType.addFacet(), org.exolab.castor.xml.schema.Schema.createSimpleType(), org.exolab.castor.xml.schema.FacetList.enumerate(), org.exolab.castor.xml.schema.SimpleType.setFinal(), and org.exolab.castor.xml.schema.XMLType.setId().
Referenced by org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.finish(), and org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller.getSimpleType().
| Schema org.exolab.castor.xml.schema.reader.SimpleTypeDefinition.getSchema | ( | ) | [package] |
Returns the Schema for this SimpleTypeDefinition
Referenced by org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller.SimpleTypeRestrictionUnmarshaller(), and org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller.startElement().
| void org.exolab.castor.xml.schema.reader.SimpleTypeDefinition.setAnnotation | ( | Annotation | annotation | ) | [package] |
Sets the annotation for this SimpleTypeDefinition
| annotation | the Annotation for this SimpleTypeDefinition |
Referenced by org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller.endElement(), and org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller.endElement().
| void org.exolab.castor.xml.schema.reader.SimpleTypeDefinition.setBaseType | ( | SimpleType | baseType | ) | [package] |
Sets the base type for this SimpleTypeDefinition. This method is mutually exclusive with setBaseTypeName
| baseType | the base type for this SimpleTypeDefinition |
Referenced by org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller.endElement(), org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.SimpleContentRestrictionUnmarshaller(), and org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller.SimpleTypeRestrictionUnmarshaller().
| void org.exolab.castor.xml.schema.reader.SimpleTypeDefinition.setBaseTypeName | ( | String | baseTypeName | ) | [package] |
Sets the base type for this SimpleTypeDefinition. This method is mutually exclusive with setBaseType
| baseType | the base type for this SimpleTypeDefinition |
Referenced by org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.SimpleContentRestrictionUnmarshaller(), and org.exolab.castor.xml.schema.reader.SimpleTypeRestrictionUnmarshaller.SimpleTypeRestrictionUnmarshaller().
| void org.exolab.castor.xml.schema.reader.SimpleTypeDefinition.setFinal | ( | String | finalValue | ) | [package] |
Sets the value of the 'final' property, indicating which types of derivation are not allowed. A null value will indicate all types of derivation (list, restriction, union) are allowed.
| finalValue | the value of the final property. |
Referenced by org.exolab.castor.xml.schema.reader.SimpleTypeUnmarshaller.SimpleTypeUnmarshaller().
1.7.0