org.weblab_project.core.model.content
Class BinaryContent
java.lang.Object
org.weblab_project.core.model.Resource
org.weblab_project.core.model.content.Content
org.weblab_project.core.model.content.BinaryContent
- All Implemented Interfaces:
- java.io.Serializable
public class BinaryContent
- extends Content
- implements java.io.Serializable
Binary content simply contains part of a binary large content.
Offset and limit are defined, for this specialisation, in a number of bytes.
Data Exchange Model for WebLab platform provided by EADS Content package - Version 1.1 - 2009/05
Java class for binaryContent complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="binaryContent">
<complexContent>
<extension base="{http://weblab-project.org/core/model/content}content">
<sequence>
<element name="data" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
</sequence>
</extension>
</complexContent>
</complexType>
- See Also:
- Serialized Form
Field Summary |
protected byte[] |
data
|
Method Summary |
byte[] |
getData()
Gets the value of the data property. |
void |
setData(byte[] 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 byte[] data
BinaryContent
public BinaryContent()
getData
public byte[] getData()
- Gets the value of the data property.
- Returns:
- possible object is
byte[]
setData
public void setData(byte[] value)
- Sets the value of the data property.
- Parameters:
value
- allowed object is
byte[]
Copyright © 2004-2009. All Rights Reserved.