public class SimpleContent extends ContentType implements Serializable
| Constructor and Description |
|---|
SimpleContent()
Creates a new SimpleContent
|
SimpleContent(Schema schema,
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 and Description |
|---|---|
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.
|
getType, toString, valueOfpublic SimpleContent()
public SimpleContent(SimpleContent content)
content - the SimpleContent to copy frompublic SimpleContent(SimpleType simpleType)
simpleType - the simpleType of this SimpleContentpublic SimpleContent copy()
public SimpleType getSimpleType()
public String getTypeName()
public void setSimpleType(SimpleType simpleType)
simpleType - the simpleType to setCopyright © 2021. All rights reserved.