Interface Smil
-
- All Superinterfaces:
SmilObject
public interface Smil extends SmilObject
Represent a SMIL document.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SmilObjectget(String elementId)Returns element with given Id.SmilBodygetBody()Returns body of the SMIL.SmilHeadgetHead()Returns head of the SMIL.StringtoXML()Serialize this object.-
Methods inherited from interface org.opencastproject.smil.entity.api.SmilObject
getId
-
-
-
-
Method Detail
-
getBody
SmilBody getBody()
Returns body of the SMIL.- Returns:
- the body of the SMIL.
-
getHead
SmilHead getHead()
Returns head of the SMIL.- Returns:
- the head of the SMIL.
-
toXML
String toXML() throws javax.xml.bind.JAXBException, SAXException, MalformedURLException
Serialize this object.- Returns:
- the XML representation of the
Smilobject - Throws:
javax.xml.bind.JAXBException- if serializing failSAXExceptionMalformedURLException
-
get
SmilObject get(String elementId) throws SmilException
Returns element with given Id.- Parameters:
elementId- element Id- Returns:
- element with given Id
- Throws:
SmilException- if there is no element with the same Id
-
-