org.exolab.castor.xml.schema
public class SimpleContent extends ContentType implements Serializable
Version: $Revision: 1.1 $ $Date: 2003/03/03 17:44:01 $
Constructor Summary | |
---|---|
SimpleContent()
Creates a new SimpleContent | |
SimpleContent(SimpleContent content)
Creates a new SimpleContent using the given SimpleContent.
| |
SimpleContent(SimpleType simpleType)
Creates a new SimpleContent
| |
SimpleContent(Schema schema, String typeName)
Creates a new SimpleContent
|
Method Summary | |
---|---|
SimpleContent | copy()
Creates a copy of this SimpleContent
|
SimpleType | getSimpleType()
Returns the simpleType that represents that contentType. |
String | getTypeName()
Returns the name of the associated type for this SimpleContent
|
void | setSimpleType(SimpleType simpleType)
Sets the simpleType that represents that contentType.
|
Parameters: content the SimpleContent to copy from
Parameters: simpleType the simpleType of this SimpleContent
Parameters: schema the associated parent Schema typeName the name of the base simpleType, or complexType (must also be a SimpleContent).
Returns: the new SimpleContent which is a copy of this SimpleContent
Returns: the simpleType that represents that contentType.
Returns: the associated type name for this SimpleContent.
Parameters: simpleType the simpleType to set