java.io.Serializablepublic class SimpleContent extends ContentType implements java.io.Serializable
| Constructor | Description |
|---|---|
SimpleContent() |
Creates a new SimpleContent
|
SimpleContent(Schema schema,
java.lang.String typeName) |
Creates a new SimpleContent
|
SimpleContent(SimpleContent content) |
Creates a new SimpleContent using the given SimpleContent.
|
SimpleContent(SimpleType simpleType) |
Creates a new SimpleContent
|
| Modifier and Type | Method | Description |
|---|---|---|
SimpleContent |
copy() |
Creates a copy of this SimpleContent
|
SimpleType |
getSimpleType() |
Returns the simpleType that represents that contentType.
|
java.lang.String |
getTypeName() |
Returns the name of the associated type for this SimpleContent
|
void |
setSimpleType(SimpleType simpleType) |
Sets the simpleType that represents that contentType.
|
getType, toString, valueOfpublic SimpleContent()
public SimpleContent(SimpleContent content)
content - the SimpleContent to copy frompublic SimpleContent(SimpleType simpleType)
simpleType - the simpleType of this SimpleContentpublic SimpleContent(Schema schema, java.lang.String typeName)
schema - the associated parent SchematypeName - the name of the base simpleType, or
complexType (must also be a SimpleContent).public SimpleContent copy()
public SimpleType getSimpleType()
public java.lang.String getTypeName()
public void setSimpleType(SimpleType simpleType)
simpleType - the simpleType to setIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com