4 |
import java.util.ArrayList; |
import java.util.ArrayList; |
5 |
import java.util.List; |
import java.util.List; |
6 |
|
|
7 |
|
|
8 |
import org.simpleframework.xml.Element; |
import org.simpleframework.xml.Element; |
9 |
import org.simpleframework.xml.ElementList; |
import org.simpleframework.xml.ElementList; |
10 |
import org.simpleframework.xml.Root; |
import org.simpleframework.xml.Root; |
11 |
|
|
12 |
@Root(name="stations") |
@Root(name="stations", strict=false) |
13 |
public class StationBean implements Serializable { |
public class StationBean implements Serializable { |
14 |
|
|
15 |
|
|
16 |
@ElementList(inline=true) |
@ElementList(inline=true) |
17 |
public List<StationEntry> entries = new ArrayList<StationEntry>(); |
public List<StationEntry> entries = new ArrayList<StationEntry>(); |
18 |
|
|
19 |
@Root(name="station") |
@Root(name="station", strict=false) |
20 |
public static class StationEntry implements Serializable { |
public static class StationEntry implements Serializable { |
21 |
|
|
22 |
@Element |
@Element |