Lizzy v1.1.1

christophedelory.playlist
Class Playlist

java.lang.Object
  extended by christophedelory.playlist.Playlist

public class Playlist
extends Object

The definition of the top-level element: the playlist.

Version:
$Revision: 92 $
Author:
Christophe Delory

Constructor Summary
Playlist()
          Builds a new and empty playlist.
 
Method Summary
 void acceptDown(PlaylistVisitor visitor)
          Accepts the specified playlist visitor.
 void acceptUp(PlaylistVisitor visitor)
          Accepts the specified playlist visitor.
 Sequence getRootSequence()
          Returns the root sequence of this playlist.
 void normalize()
          Normalizes this playlist.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Playlist

public Playlist()
Builds a new and empty playlist.

Method Detail

getRootSequence

public Sequence getRootSequence()
Returns the root sequence of this playlist.

Returns:
a playlist sequence. Shall not be null.

normalize

public void normalize()
Normalizes this playlist.


acceptDown

public void acceptDown(PlaylistVisitor visitor)
                throws Exception
Accepts the specified playlist visitor.

Parameters:
visitor - a visitor. Shall not be null.
Throws:
NullPointerException - if visitor is null.
Exception - if any error occurs during the visit.

acceptUp

public void acceptUp(PlaylistVisitor visitor)
              throws Exception
Accepts the specified playlist visitor.

Parameters:
visitor - a visitor. Shall not be null.
Throws:
NullPointerException - if visitor is null.
Exception - if any error occurs during the visit.

© 2008-2009 Christophe Delory

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