|
|
||||||||
| 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.Switch
public class Switch
The switch element allows an author to specify a set of alternative elements from which only one acceptable element should be chosen. The corresponding SMIL element is named "par".
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
Switch()
Construct a new Switch. |
|
| Method Summary | |
|---|---|
Element |
addAttribute(java.lang.String name,
java.lang.String value)
Add an attribute for this element. |
Switch |
addElement(Element element)
Add a element to the this Switch. |
| 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 Switch()
| Method Detail |
|---|
public Switch addElement(Element element)
element - a valid element
java.lang.IllegalArgumentException - for invalid elements
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 attributes
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||