[LIB-4] Add hespiff source files
[hespiff.git] / src / main / java / org / hedgecode / xml / xspf / bind / PlaylistBinder.java
1 /*
2  * Copyright (c) 2015. Developed by Hedgecode.
3  *
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
7  *
8  *   http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16
17 package org.hedgecode.xml.xspf.bind;
18
19 import java.util.Date;
20 import java.util.List;
21
22 import javax.xml.bind.JAXBElement;
23
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;
29
30 /**
31  *
32  *
33  * @author Dmitry Samoshin aka gotty
34  */
35 public interface PlaylistBinder extends Binder {
36
37     String getPackageName();
38
39     Class getPlaylistClass();
40
41     Object getPlaylist();
42
43     void setPlaylist(Object playlist);
44
45     public JAXBElement wrapPlaylist();
46
47     String getLocation();
48
49     void setLocation(String location);
50
51     String getIdentifier();
52
53     void setIdentifier(String identifier);
54
55     Date getDate();
56
57     void setDate(Date date);
58
59     String getLicense();
60
61     void setLicense(String license);
62
63     Attribution getAttribution();
64
65     void setAttribution(Attribution attribution);
66
67     List<Track> getTracks();
68
69     void addTrack(Track track);
70
71     String getVersion();
72
73     void setVersion(String version);
74
75 }