Lizzy v1.1.1

christophedelory.playlist.asx
Class Repeat

java.lang.Object
  extended by christophedelory.playlist.asx.Child
      extended by christophedelory.playlist.asx.AsxElement
          extended by christophedelory.playlist.asx.Repeat
All Implemented Interfaces:
AsxElementContainer

public class Repeat
extends AsxElement
implements AsxElementContainer

Defines the number of times Windows Media Player repeats, or loops through, the clips defined by one or more ENTRY or ENTRYREF elements. Only the first REPEAT element in an ASX file is valid; subsequent REPEAT elements are ignored.
Windows Media Player version 7.0 or later.

Version:
$Revision: 92 $
Author:
Christophe Delory

Constructor Summary
Repeat()
           
 
Method Summary
 void addAsxElement(AsxElement asxElement)
          Adds an ASX element to this container.
 List<AsxElement> getAsxElements()
          Returns the list of ASX elements defined in this container.
 Integer getCount()
          Returns the number of times Windows Media Player repeats the ENTRY and ENTRYREF elements within this element's scope.
 void setCount(Integer count)
          Initializes the number of times Windows Media Player repeats the ENTRY and ENTRYREF elements within this element's scope.
 
Methods inherited from class christophedelory.playlist.asx.Child
getParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Repeat

public Repeat()
Method Detail

getCount

public Integer getCount()
Returns the number of times Windows Media Player repeats the ENTRY and ENTRYREF elements within this element's scope. If no COUNT parameter is defined, the content in the associated ENTRY and ENTRYREF elements repeats an infinite number of times. A value of zero causes the WMP control to ignore the REPEAT element and play the content once.

Returns:
an integer. May be null.
See Also:
setCount(java.lang.Integer)

setCount

public void setCount(Integer count)
Initializes the number of times Windows Media Player repeats the ENTRY and ENTRYREF elements within this element's scope. If the specified count value is negative, the repeat count is assumed to be indefinite.

Parameters:
count - an integer. May be null.
See Also:
getCount()

addAsxElement

public void addAsxElement(AsxElement asxElement)
Description copied from interface: AsxElementContainer
Adds an ASX element to this container.

Specified by:
addAsxElement in interface AsxElementContainer
Parameters:
asxElement - an ASX element. Shall not be null
See Also:
AsxElementContainer.getAsxElements()

getAsxElements

public List<AsxElement> getAsxElements()
Description copied from interface: AsxElementContainer
Returns the list of ASX elements defined in this container.

Specified by:
getAsxElements in interface AsxElementContainer
Returns:
a list of ASX elements. May be empty but not null.
See Also:
AsxElementContainer.addAsxElement(christophedelory.playlist.asx.AsxElement)

© 2008-2009 Christophe Delory

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