com.objectxp.mms.message.smil
Class SmilDocument
java.lang.Object
com.objectxp.mms.message.smil.Element
com.objectxp.mms.message.smil.SmilDocument
- public class SmilDocument
- extends Element
This class represents a SMIL (Synchronized Multimedia Integration Language)
document.
Using SMIL, an author can describe the temporal behavior of a multimedia
presentation, associate hyperlinks with media objects and describe the
layout of the presentation on a screen.
- Since:
- jSMS 2.0
| Fields inherited from class com.objectxp.mms.message.smil.Element |
COMMON_CLASS, COMMON_ID, COMMON_TITLE, COMMON_XML_LANG, CONTCTRL_AUDIO_DESC, CONTCTRL_BITRATE, CONTCTRL_CAPTIONS, CONTCTRL_COMPONENT, CONTCTRL_CPU, CONTCTRL_LANGUAGE, CONTCTRL_OPERATING_SYSTEM, CONTCTRL_OVERDUB_OR_SUBTITLE, CONTCTRL_REQUIRED, CONTCTRL_SCREEN_DEPTH, CONTCTRL_SCREEN_SIZE, LINKING_ACCESSKEY, LINKING_ACTUATE, LINKING_ALT, LINKING_DEST_LEVEL, LINKING_DEST_PLAYSTATE, LINKING_EXTERNAL, LINKING_HREF, LINKING_SHOW, LINKING_SRC_LEVEL, LINKING_SRC_PLAYSTATE, LINKING_TABINDEX, LINKING_TARGET, MEDIA_SRC, MEDIA_TYPE, TIMING_BEGIN, TIMING_DUR, TIMING_END, TIMING_ENDSYNC, TIMING_FILL, TIMING_MAX, TIMING_MIN, TIMING_REPEAT_COUNT, TIMING_REPEAT_DUR |
|
Constructor Summary |
SmilDocument()
Construct a new SMIL Document. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmilDocument
public SmilDocument()
- Construct a new SMIL Document.
addElement
public SmilDocument addElement(Element element)
- Add a element tho the SMIL Document. Valid elements are:
-
- Parameters:
element - a valid element
- Throws:
java.lang.IllegalArgumentException - for invalid elements
addAttribute
public Element addAttribute(java.lang.String name,
java.lang.String value)
- Add an attribute for this layout element. Attributes allowed are:
- COMMON attributes
- CONTROL_ATTRIBUTES
- Overrides:
addAttribute in class Element
- Parameters:
name - the attribute namevalue - the attribute value
- Returns:
- this Element
- Throws:
java.lang.IllegalArgumentException - for invalid attributes
object XP, Inc. © 2000-2007. All rights reserved object XP