org.ow2.weblab.core.model
Class Audio
java.lang.Object
org.ow2.weblab.core.model.Resource
org.ow2.weblab.core.model.MediaUnit
org.ow2.weblab.core.model.Audio
- All Implemented Interfaces:
- java.io.Serializable
public class Audio
- extends MediaUnit
- implements java.io.Serializable
An audio unit describes audio 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 audio content. It can also be described using low level
descriptors. The original content may be in content field or a
reference using an annotation should be made to the content. Data
Exchange Model for WebLab platform provided by CASSIDIAN - Version 1.2 -
2010/08
Java class for Audio complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Audio">
<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 |
Audio()
|
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
Audio
public Audio()
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.