1 |
package dk.thoerup.android.traininfo.common; |
2 |
|
3 |
import java.io.Serializable; |
4 |
import java.util.ArrayList; |
5 |
import java.util.List; |
6 |
|
7 |
import org.simpleframework.xml.ElementList; |
8 |
import org.simpleframework.xml.Root; |
9 |
|
10 |
|
11 |
@Root(name="metrodepatures", strict=false) |
12 |
public class MetroBean implements Serializable { |
13 |
|
14 |
|
15 |
@Root(name="entry", strict=false) |
16 |
public static class MetroEntry implements Serializable { |
17 |
|
18 |
@org.simpleframework.xml.Element |
19 |
public String metro; |
20 |
|
21 |
@org.simpleframework.xml.Element |
22 |
public String destination; |
23 |
|
24 |
@org.simpleframework.xml.Element |
25 |
public String minutes; |
26 |
} |
27 |
|
28 |
|
29 |
@org.simpleframework.xml.Element |
30 |
public String head; |
31 |
|
32 |
|
33 |
@org.simpleframework.xml.Element(name="operations") |
34 |
public String operationInfo; //driftsinfo |
35 |
|
36 |
@ElementList(required=false) |
37 |
public List<MetroEntry> entries = new ArrayList<MetroEntry>(); |
38 |
|
39 |
@org.simpleframework.xml.Element |
40 |
public String plan; // koereplan |
41 |
} |