|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.objectxp.mms.message.smil.Element
com.objectxp.mms.message.smil.Media
Base class for MMS Media elements. Media elements allow the inclusion of media objects into a SMIL presentation. Media objects are included by reference (using a URI).
All the media elements are semantically identical. When playing back a media object, the player must not derive the exact type of the media object from the name of the media object element. Instead, it must rely solely on other sources about the type, such as type information contained in the type attribute, or the type information communicated by a server or the operating system.
| Field Summary |
| Method Summary | |
Element |
addAttribute(java.lang.String name,
java.lang.String value)
Add an attribute for this media element. |
java.lang.String |
getCharset()
Get the character set of the content. |
byte[] |
getContent()
Get the content data of this message part. |
java.lang.String |
getContentLocation()
Get the content location of this message part. |
java.lang.String |
getContentType()
Get the content-type of this message part. |
java.lang.String |
getMimeType()
Get the mime-type of this message part. |
void |
setCharset(java.lang.String charset)
Set the character set (encoding) that has been used for encoding the content. |
java.lang.String |
toString()
|
| Methods inherited from class com.objectxp.mms.message.smil.Element |
getElements, toXML |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public Element addAttribute(java.lang.String name,
java.lang.String value)
addAttribute in class Elementname - the attribute namevalue - the attribute value
java.lang.IllegalArgumentException - for invalid attributespublic java.lang.String getContentLocation()
MMSMessagePartSMIL document
refers to this location.
getContentLocation in interface MMSMessagePartpublic java.lang.String getMimeType()
MMSMessagePart
getMimeType in interface MMSMessagePartpublic byte[] getContent()
MMSMessagePart
getContent in interface MMSMessagePartpublic java.lang.String toString()
public java.lang.String getCharset()
MMSMessagePart
getCharset in interface MMSMessagePartpublic void setCharset(java.lang.String charset)
MMSMessagePart
setCharset in interface MMSMessagePartcharset - the character set (e.g. "UTF-8").public java.lang.String getContentType()
MMSMessagePart
getContentType in interface MMSMessagePart
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||