2 * Copyright (c) 2015. Developed by Hedgecode.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 package org.hedgecode.xml.xspf.bind;
19 import java.util.Date;
20 import java.util.List;
22 import javax.xml.bind.JAXBElement;
24 import org.hedgecode.xml.xspf.Attribution;
25 import org.hedgecode.xml.xspf.Extension;
26 import org.hedgecode.xml.xspf.Link;
27 import org.hedgecode.xml.xspf.Meta;
28 import org.hedgecode.xml.xspf.Track;
33 * @author Dmitry Samoshin aka gotty
35 public interface PlaylistBinder extends Binder {
37 String getPackageName();
39 Class getPlaylistClass();
43 void setPlaylist(Object playlist);
45 public JAXBElement wrapPlaylist();
49 void setLocation(String location);
51 String getIdentifier();
53 void setIdentifier(String identifier);
57 void setDate(Date date);
61 void setLicense(String license);
63 Attribution getAttribution();
65 void setAttribution(Attribution attribution);
67 List<Track> getTracks();
69 void addTrack(Track track);
73 void setVersion(String version);