org.ow2.weblab.core.model
Class Image
java.lang.Object
org.ow2.weblab.core.model.Resource
org.ow2.weblab.core.model.MediaUnit
org.ow2.weblab.core.model.Image
- All Implemented Interfaces:
- java.io.Serializable
public class Image
- extends MediaUnit
- implements java.io.Serializable
An image unit describe a visual static content
out of media document. It does not have any particular attribute but
only allow describing the structure. As a resource it can be
annotated to describe the content. It can also be described using
low level descriptors. The original content may be in the content
field or a reference using annotation should be made to the content.
Data Exchange Model for WebLab platform provided by CASSIDIAN - Version
1.2 - 2010/08
Java class for Image complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Image">
<complexContent>
<extension base="{http://weblab.ow2.org/core/1.2/model#}MediaUnit">
<sequence>
<element name="content" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
- See Also:
- Serialized Form
Field Summary |
protected byte[] |
content
|
Constructor Summary |
Image()
|
Method Summary |
byte[] |
getContent()
Gets the value of the content property. |
boolean |
isSetContent()
|
void |
setContent(byte[] value)
Sets the value of the content property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
content
protected byte[] content
Image
public Image()
getContent
public byte[] getContent()
- Gets the value of the content property.
- Returns:
- possible object is
byte[]
setContent
public void setContent(byte[] value)
- Sets the value of the content property.
- Parameters:
value
- allowed object is
byte[]
isSetContent
public boolean isSetContent()
Copyright © 2004-2010. All Rights Reserved.