Lizzy v1.1.1

christophedelory.playlist.smil
Class AbstractTimingElement

java.lang.Object
  extended by christophedelory.playlist.smil.Core
      extended by christophedelory.playlist.smil.AbstractSmilElement
          extended by christophedelory.playlist.smil.AbstractTimingElement
Direct Known Subclasses:
ExclusiveTimingElement, ParallelTimingElement, SequentialTimingElement

public abstract class AbstractTimingElement
extends AbstractSmilElement

The base class of time containers. There are three types of time containers. These can be declared with the elements par, seq, and excl, or in some integration profiles with a time container attribute. It also represents the principal Element of a SMIL body and it could be contain one or more Reference.

Version:
$Revision: 92 $
Author:
Christophe Delory

Constructor Summary
AbstractTimingElement()
           
 
Method Summary
 void acceptDown(SmilVisitor visitor)
          Accepts the specified SMIL playlist visitor.
 void addSmilElement(AbstractSmilElement smilElement)
          Adds a SMIL element to this time container.
 List<AbstractSmilElement> getSmilElements()
          Returns the list of SMIL elements (media objects, time containers and others) composing the SMIL presentation.
 
Methods inherited from class christophedelory.playlist.smil.AbstractSmilElement
getBeginString, getDuration, getDurationString, getEnd, getMax, getMin, getParent, getRegionString, getRepeatCount, getRepeatCountString, getRepeatDuration, setBeginString, setDuration, setDurationString, setEnd, setMax, setMin, setParent, setRegionString, setRepeatCount, setRepeatCountString, setRepeatDuration
 
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

AbstractTimingElement

public AbstractTimingElement()
Method Detail

addSmilElement

public void addSmilElement(AbstractSmilElement smilElement)
Adds a SMIL element to this time container.

Parameters:
smilElement - a SMIL element. Shall not be null.
Throws:
NullPointerException - if smilElement is null.
See Also:
getSmilElements()

getSmilElements

public List<AbstractSmilElement> getSmilElements()
Returns the list of SMIL elements (media objects, time containers and others) composing the SMIL presentation.

Returns:
a list of SMIL elements. May be empty but not null.
See Also:
addSmilElement(christophedelory.playlist.smil.AbstractSmilElement)

acceptDown

public void acceptDown(SmilVisitor visitor)
Description copied from class: AbstractSmilElement
Accepts the specified SMIL playlist visitor.

Specified by:
acceptDown in class AbstractSmilElement
Parameters:
visitor - a SMIL playlist visitor. Shall not be null.

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.