|
|
|||||||||
| 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.Anchor
This class represents the SMIL "a" element (anchor). The functionality of the anchor
element is very similar to the functionality of the <A> element in HTML.
Anchor objects may not be nested. A Anchor object must have the
href attribute set.
| Field Summary |
| Constructor Summary | |
Anchor(Media element)
Construct a Anchor by adding the given Media element and referring to it. |
|
Anchor(java.lang.String href)
Construct a Anchor using the given parameter as "href" attribute. |
|
| Method Summary | |
Element |
addAttribute(java.lang.String name,
java.lang.String value)
Add an attribute for this Anchor element. |
| 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 Anchor(java.lang.String href)
href - the href valuepublic Anchor(Media element)
element - the Element to add and referr to.| 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 attributes
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||