org.weblab_project.core.model.content
Class TextContent

java.lang.Object
  extended by org.weblab_project.core.model.Resource
      extended by org.weblab_project.core.model.content.Content
          extended by 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
           
 
Fields inherited from class org.weblab_project.core.model.content.Content
limit, offset
 
Fields inherited from class org.weblab_project.core.model.Resource
annotation, descriptor, uri
 
Constructor Summary
TextContent()
           
 
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 org.weblab_project.core.model.content.Content
getLimit, getOffset, setLimit, setOffset
 
Methods inherited from class org.weblab_project.core.model.Resource
getAnnotation, getDescriptor, getUri, setUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

protected java.lang.String data
Constructor Detail

TextContent

public TextContent()
Method Detail

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.