com.adactus.mpeg21.didl.entity
Class StatementType

java.lang.Object
  extended by com.adactus.mpeg21.didl.entity.DIDLBaseType
      extended by com.adactus.mpeg21.didl.entity.DIDLChildType
          extended by com.adactus.mpeg21.didl.entity.StatementType
All Implemented Interfaces:
Statement, java.io.Serializable, javolution.lang.Reusable

public class StatementType
extends DIDLChildType
implements Statement, javolution.lang.Reusable

A Statement contains textual descriptive data within a Descriptor.

See Also:
Serialized Form

Field Summary
static java.lang.String ELEMENT_NAME
           
 
Constructor Summary
StatementType()
           
 
Method Summary
 java.lang.String getContentEncoding()
          Get the content encoding of this statement, for example .zip or .gz.
 java.lang.String getEncoding()
          Get the encoding of this statement.
 java.lang.String getMimeType()
          Get the mime-type of this resource.
 DIDLParentType getParent()
           
 java.lang.String getRef()
          Get the URL reference of the textual value represented by this statement
 java.lang.String getTextContent()
          Get the plain text content of this statement
static StatementType newInstance()
           
static void recycle(StatementType type)
           
 void reset()
           
 void setContentEncoding(java.lang.String contentEncoding)
           
 void setEncoding(java.lang.String encoding)
           
 void setMimeType(java.lang.String mimeType)
           
 void setParent(DIDLParentType parent)
           
 void setRef(java.lang.String ref)
           
 void setTextContent(java.lang.String textContent)
           
 
Methods inherited from class com.adactus.mpeg21.didl.entity.DIDLChildType
getId, setId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEMENT_NAME

public static final java.lang.String ELEMENT_NAME
See Also:
Constant Field Values
Constructor Detail

StatementType

public StatementType()
Method Detail

getContentEncoding

public java.lang.String getContentEncoding()
Description copied from interface: Statement
Get the content encoding of this statement, for example .zip or .gz.

Specified by:
getContentEncoding in interface Statement
Returns:
the content encoding, null if none

getEncoding

public java.lang.String getEncoding()
Description copied from interface: Statement
Get the encoding of this statement.

Specified by:
getEncoding in interface Statement
Returns:
the encoding, null if none

getMimeType

public java.lang.String getMimeType()
Description copied from interface: Statement
Get the mime-type of this resource.

Specified by:
getMimeType in interface Statement
Returns:
the mime-type

getParent

public DIDLParentType getParent()

getRef

public java.lang.String getRef()
Description copied from interface: Statement
Get the URL reference of the textual value represented by this statement

Specified by:
getRef in interface Statement
Returns:
the reference or null if not set

getTextContent

public java.lang.String getTextContent()
Description copied from interface: Statement
Get the plain text content of this statement

Specified by:
getTextContent in interface Statement
Returns:
the text content or null if not set

newInstance

public static StatementType newInstance()

recycle

public static void recycle(StatementType type)

reset

public void reset()
Specified by:
reset in interface javolution.lang.Reusable

setContentEncoding

public void setContentEncoding(java.lang.String contentEncoding)

setEncoding

public void setEncoding(java.lang.String encoding)

setMimeType

public void setMimeType(java.lang.String mimeType)

setParent

public void setParent(DIDLParentType parent)

setRef

public void setRef(java.lang.String ref)

setTextContent

public void setTextContent(java.lang.String textContent)