org.weblab_project.core.model.content
Class TextContent
java.lang.Object
org.weblab_project.core.model.Resource
org.weblab_project.core.model.content.Content
org.weblab_project.core.model.content.TextContent
- All Implemented Interfaces:
- java.io.Serializable
public class TextContent
- extends Content
- implements java.io.Serializable
Text content simply contains part of a text in UTF-8.
Offset and limit are defined, for this specialisation, in a number of chars in the UTF-8 String.
Data Exchange Model for WebLab platform provided by EADS Content package - Version 1.1 - 2009/05
Java class for textContent complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="textContent">
<complexContent>
<extension base="{http://weblab-project.org/core/model/content}content">
<sequence>
<element name="data" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</extension>
</complexContent>
</complexType>
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
data
|
Method Summary |
java.lang.String |
getData()
Gets the value of the data property. |
void |
setData(java.lang.String value)
Sets the value of the data property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
protected java.lang.String data
TextContent
public TextContent()
getData
public java.lang.String getData()
- Gets the value of the data property.
- Returns:
- possible object is
String
setData
public void setData(java.lang.String value)
- Sets the value of the data property.
- Parameters:
value
- allowed object is
String
Copyright © 2004-2010. All Rights Reserved.