|
|
||||||||
| 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
com.objectxp.mms.message.smil.Text
public class Text
This class represents a SMIL "text" element.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
Text(byte[] content,
java.lang.String name)
Construct a new Text Element. |
|
Text(byte[] content,
java.lang.String name,
java.lang.String mimeType)
Construct a new Text element. |
|
Text(java.io.InputStream src,
java.lang.String name,
java.lang.String mimeType)
Construct a new Text element. |
|
Text(java.lang.String text)
Construct a new Text Element. |
|
| Method Summary |
|---|
| Methods inherited from class com.objectxp.mms.message.smil.Media |
|---|
addAttribute, getCharset, getContent, getContentLocation, getContentType, getMimeType, setCharset, 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 |
| Constructor Detail |
|---|
public Text(java.lang.String text)
text - the text element.
public Text(byte[] content,
java.lang.String name)
content - the text dataname - the name of the text element
public Text(byte[] content,
java.lang.String name,
java.lang.String mimeType)
content - the text dataname - the name of the text element (e.g. 'hello.html')mimeType - the MIME type of the element (e.g. 'text/html')
public Text(java.io.InputStream src,
java.lang.String name,
java.lang.String mimeType)
throws java.io.IOException
src - a input stream providing the text dataname - the name of the text element (e.g. 'hello.html')mimeType - the MIME type of the element (e.g. 'text/html'). If null,
"text/plain" will be used.
java.io.IOException - if an I/O error occurs
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||