Public Member Functions | |
| SimpleContent () | |
| SimpleContent (SimpleContent content) | |
| SimpleContent (SimpleType simpleType) | |
| SimpleContent (Schema schema, String typeName) | |
| SimpleContent | copy () |
| SimpleType | getSimpleType () |
| String | getTypeName () |
| void | setSimpleType (SimpleType simpleType) |
An extension of the ContentType to support simple content extension and restriction for complexTypes.
| org.exolab.castor.xml.schema.SimpleContent.SimpleContent | ( | ) |
Creates a new SimpleContent
Referenced by org.exolab.castor.xml.schema.SimpleContent.copy().
| org.exolab.castor.xml.schema.SimpleContent.SimpleContent | ( | SimpleContent | content | ) |
Creates a new SimpleContent using the given SimpleContent. This constructor will copy from the given SimpleContent.
| content | the SimpleContent to copy from |
| org.exolab.castor.xml.schema.SimpleContent.SimpleContent | ( | SimpleType | simpleType | ) |
Creates a new SimpleContent
| simpleType | the simpleType of this SimpleContent |
| org.exolab.castor.xml.schema.SimpleContent.SimpleContent | ( | Schema | schema, | |
| String | typeName | |||
| ) |
Creates a new SimpleContent
| schema | the associated parent Schema | |
| typeName | the name of the base simpleType, or complexType (must also be a SimpleContent). |
| SimpleContent org.exolab.castor.xml.schema.SimpleContent.copy | ( | ) |
Creates a copy of this SimpleContent
References org.exolab.castor.xml.schema.SimpleContent.SimpleContent().
Referenced by org.exolab.castor.xml.schema.reader.ExtensionUnmarshaller.ExtensionUnmarshaller().
| SimpleType org.exolab.castor.xml.schema.SimpleContent.getSimpleType | ( | ) |
Returns the simpleType that represents that contentType. This may be null, if no simpleType has been set.
References org.exolab.castor.xml.schema.ComplexType.getContentType(), org.exolab.castor.xml.schema.SimpleContent.getSimpleType(), org.exolab.castor.xml.schema.Schema.getType(), org.exolab.castor.xml.schema.ComplexType.isSimpleContent(), and org.exolab.castor.xml.schema.XMLType.isSimpleType().
Referenced by org.exolab.castor.builder.SourceFactory.createSourceCode(), org.exolab.castor.xml.schema.SimpleContent.getSimpleType(), and org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.SimpleContentRestrictionUnmarshaller().
| String org.exolab.castor.xml.schema.SimpleContent.getTypeName | ( | ) |
Returns the name of the associated type for this SimpleContent
References org.exolab.castor.xml.schema.XMLType.getName().
Referenced by org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.SimpleContentRestrictionUnmarshaller(), and org.exolab.castor.xml.schema.reader.SimpleContentRestrictionUnmarshaller.startElement().
| void org.exolab.castor.xml.schema.SimpleContent.setSimpleType | ( | SimpleType | simpleType | ) |
Sets the simpleType that represents that contentType.
| simpleType | the simpleType to set |
1.7.0