|
|
||||||||
| 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.Body
public class Body
This class represents the SMIL "body" element. The body element contains information that is related to the temporal and linking behavior of the document. It acts as the root element of the timing tree.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
Body()
Create a new Body. |
|
| Method Summary | |
|---|---|
Element |
addAttribute(java.lang.String name,
java.lang.String value)
Add a COMMON attribute for this body element. |
Body |
addElement(Element element)
Add a element to the Body. |
| Methods inherited from class com.objectxp.mms.message.smil.Element |
|---|
getElements, toXML |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Body()
| Method Detail |
|---|
public Body addElement(Element element)
throws java.lang.IllegalArgumentException
element - a element
java.lang.IllegalArgumentException - for invalid elements
public Element addAttribute(java.lang.String name,
java.lang.String value)
throws java.lang.IllegalArgumentException
addAttribute in class Elementname - the attribute namevalue - the attribute value
java.lang.IllegalArgumentException - for invalid attributes
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||