Lizzy v1.1.1

christophedelory.playlist
Class BasePlaylistVisitor

java.lang.Object
  extended by christophedelory.playlist.BasePlaylistVisitor
All Implemented Interfaces:
PlaylistVisitor
Direct Known Subclasses:
FetchContentMetadata, PlaylistToString

public class BasePlaylistVisitor
extends Object
implements PlaylistVisitor

A starting point for a playlist visitor.

Version:
$Revision: 90 $
Author:
Christophe Delory

Constructor Summary
BasePlaylistVisitor()
           
 
Method Summary
 void beginVisitMedia(Media target)
          Starts the visit of the specified media.
 void beginVisitParallel(Parallel target)
          Starts the visit of the specified parallel timing container.
 void beginVisitPlaylist(Playlist target)
          Starts the visit of the specified playlist.
 void beginVisitSequence(Sequence target)
          Starts the visit of the specified sequence.
 void endVisitMedia(Media target)
          Finishes the visit of the specified media.
 void endVisitParallel(Parallel target)
          Finishes the visit of the specified parallel timing container.
 void endVisitPlaylist(Playlist target)
          Finishes the visit of the specified playlist.
 void endVisitSequence(Sequence target)
          Finishes the visit of the specified sequence.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasePlaylistVisitor

public BasePlaylistVisitor()
Method Detail

beginVisitPlaylist

public void beginVisitPlaylist(Playlist target)
                        throws Exception
Description copied from interface: PlaylistVisitor
Starts the visit of the specified playlist.

Specified by:
beginVisitPlaylist in interface PlaylistVisitor
Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
PlaylistVisitor.endVisitPlaylist(christophedelory.playlist.Playlist)

endVisitPlaylist

public void endVisitPlaylist(Playlist target)
                      throws Exception
Description copied from interface: PlaylistVisitor
Finishes the visit of the specified playlist.

Specified by:
endVisitPlaylist in interface PlaylistVisitor
Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
PlaylistVisitor.beginVisitPlaylist(christophedelory.playlist.Playlist)

beginVisitParallel

public void beginVisitParallel(Parallel target)
                        throws Exception
Description copied from interface: PlaylistVisitor
Starts the visit of the specified parallel timing container.

Specified by:
beginVisitParallel in interface PlaylistVisitor
Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
PlaylistVisitor.endVisitParallel(christophedelory.playlist.Parallel)

endVisitParallel

public void endVisitParallel(Parallel target)
                      throws Exception
Description copied from interface: PlaylistVisitor
Finishes the visit of the specified parallel timing container.

Specified by:
endVisitParallel in interface PlaylistVisitor
Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
PlaylistVisitor.beginVisitParallel(christophedelory.playlist.Parallel)

beginVisitSequence

public void beginVisitSequence(Sequence target)
                        throws Exception
Description copied from interface: PlaylistVisitor
Starts the visit of the specified sequence.

Specified by:
beginVisitSequence in interface PlaylistVisitor
Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
PlaylistVisitor.endVisitSequence(christophedelory.playlist.Sequence)

endVisitSequence

public void endVisitSequence(Sequence target)
                      throws Exception
Description copied from interface: PlaylistVisitor
Finishes the visit of the specified sequence.

Specified by:
endVisitSequence in interface PlaylistVisitor
Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
PlaylistVisitor.beginVisitSequence(christophedelory.playlist.Sequence)

beginVisitMedia

public void beginVisitMedia(Media target)
                     throws Exception
Description copied from interface: PlaylistVisitor
Starts the visit of the specified media.

Specified by:
beginVisitMedia in interface PlaylistVisitor
Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
PlaylistVisitor.endVisitMedia(christophedelory.playlist.Media)

endVisitMedia

public void endVisitMedia(Media target)
                   throws Exception
Description copied from interface: PlaylistVisitor
Finishes the visit of the specified media.

Specified by:
endVisitMedia in interface PlaylistVisitor
Parameters:
target - the element being visited. Shall not be null.
Throws:
NullPointerException - if target is null.
Exception - if any error occurs during the visit.
See Also:
PlaylistVisitor.beginVisitMedia(christophedelory.playlist.Media)

© 2008-2009 Christophe Delory

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