/*
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser
* General Public License as published by the Free Software Foundation; either version 2.1 of the License,
* or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along with this library; if not,
* you can get a copy from http://www.opensource.org/licenses/lgpl-license.php or write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package org.jaudiotagger.tag.datatype;
import org.jaudiotagger.tag.id3.framebody.FrameBodySYTC;
/**
* List of {@link org.jaudiotagger.tag.datatype.SynchronisedTempoCode}s.
*
* @author <a href="mailto:hs@tagtraum.com">Hendrik Schreiber</a>
* @version $Id:$
*/
public class SynchronisedTempoCodeList extends AbstractDataTypeList<SynchronisedTempoCode>
{
/**
* Mandatory, concretely-typed copy constructor, as required by
* {@link org.jaudiotagger.tag.datatype.AbstractDataTypeList#AbstractDataTypeList(org.jaudiotagger.tag.datatype.AbstractDataTypeList)}.
*
* @param copy instance to copy
*/
public SynchronisedTempoCodeList(final SynchronisedTempoCodeList copy)
{
super(copy);
}
public SynchronisedTempoCodeList(final FrameBodySYTC body)
{
super(DataTypes.OBJ_SYNCHRONISED_TEMPO_LIST, body);
}
@Override
protected SynchronisedTempoCode createListElement()
{
return new SynchronisedTempoCode(DataTypes.OBJ_SYNCHRONISED_TEMPO, frameBody);
}
}