|
Lizzy v1.1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectchristophedelory.playlist.smil.Core
christophedelory.playlist.smil.AbstractSmilElement
public abstract class AbstractSmilElement
The media object elements.
| Constructor Summary | |
|---|---|
AbstractSmilElement()
|
|
| Method Summary | |
|---|---|
abstract void |
acceptDown(SmilVisitor visitor)
Accepts the specified SMIL playlist visitor. |
String |
getBeginString()
Returns the begin time of this element as a string. |
Long |
getDuration()
Returns a simple duration, in milliseconds. |
String |
getDurationString()
Returns a simple duration as a string. |
String |
getEnd()
Returns the end time of the active duration as a string. |
String |
getMax()
Returns the maximum value of the active duration as a string. |
String |
getMin()
Returns the minimum value of the active duration as a string. |
AbstractSmilElement |
getParent()
Returns the parent of this element. |
String |
getRegionString()
Returns the identifier of the region associated to this element. |
Float |
getRepeatCount()
Returns the number of iterations of the simple duration. |
String |
getRepeatCountString()
Returns the number of iterations of the simple duration, as a string. |
String |
getRepeatDuration()
Returns the total duration for repeat as a string. |
void |
setBeginString(String begin)
Initializes the begin time of this element as a string. |
void |
setDuration(Long duration)
Initializes the simple duration, in milliseconds. |
void |
setDurationString(String duration)
Initializes a simple duration as a string. |
void |
setEnd(String end)
Initializes the end time of this element as a string. |
void |
setMax(String max)
Initializes the maximum value of the active duration as a string. |
void |
setMin(String min)
Initializes the minimum value of the active duration as a string. |
(package private) void |
setParent(AbstractSmilElement parent)
Initializes the parent of this element. |
void |
setRegionString(String region)
Initializes the region identifier. |
void |
setRepeatCount(Float repeatCount)
Initializes the number of iterations of the simple duration. |
void |
setRepeatCountString(String repeatCount)
Initializes the number of iterations of the simple duration, as a string. |
void |
setRepeatDuration(String duration)
Initializes the total duration for repeat as a string. |
| Methods inherited from class christophedelory.playlist.smil.Core |
|---|
getClassName, getId, getLang, getTitle, setClassName, setId, setLang, setTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractSmilElement()
| Method Detail |
|---|
public AbstractSmilElement getParent()
setParent(christophedelory.playlist.smil.AbstractSmilElement)void setParent(AbstractSmilElement parent)
parent - a SMIL element.getParent()public String getRegionString()
null.setRegionString(java.lang.String)public void setRegionString(String region)
region - a region identifier. May be null.getRegionString()public String getRepeatCountString()
null.setRepeatCountString(java.lang.String),
getRepeatCount()public void setRepeatCountString(String repeatCount)
repeatCount - a repeat count. May be null.
NumberFormatException - if the string does not contain parsable values.getRepeatCountString(),
setRepeatCount(java.lang.Float)public Float getRepeatCount()
null.setRepeatCount(java.lang.Float),
getRepeatCountString()public void setRepeatCount(Float repeatCount)
repeatCount - a repeat count. May be null.getRepeatCount(),
setRepeatCountString(java.lang.String)public String getRepeatDuration()
null.setRepeatDuration(java.lang.String)public void setRepeatDuration(String duration)
duration - the total duration for repeat. May be null.getRepeatDuration()public Long getDuration()
null is returned.
null.setDuration(java.lang.Long),
getDurationString()public void setDuration(Long duration)
duration - a duration. May be null.
IllegalArgumentException - if the specified duration is negative.getDuration(),
setDurationString(java.lang.String)public String getDurationString()
null.setDurationString(java.lang.String),
getDuration()public void setDurationString(String duration)
duration - a duration. May be null.
IllegalArgumentException - if the given string is malformed.
IllegalArgumentException - if the specified duration is negative.
NumberFormatException - if the string does not contain parsable values.getDurationString()public String getBeginString()
null.setBeginString(java.lang.String)public void setBeginString(String begin)
begin - the begin time. May be null.getBeginString()public String getEnd()
null.setEnd(java.lang.String)public void setEnd(String end)
end - the end time. May be null.getEnd()public String getMin()
null.setMin(java.lang.String)public void setMin(String min)
min - the minimum value of the active duration. May be null.getMin()public String getMax()
null.setMax(java.lang.String)public void setMax(String max)
max - the maximum value of the active duration. May be null.getMax()public abstract void acceptDown(SmilVisitor visitor)
visitor - a SMIL playlist visitor. Shall not be null.
NullPointerException - if visitor is null.
|
© 2008-2009 Christophe Delory | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||