package dk.thoerup.android.traininfo.common; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import org.simpleframework.xml.ElementList; import org.simpleframework.xml.Root; @Root(name="metrodepatures", strict=false) public class MetroBean implements Serializable { @Root(name="entry", strict=false) public static class MetroEntry implements Serializable { @org.simpleframework.xml.Element public String metro; @org.simpleframework.xml.Element public String destination; @org.simpleframework.xml.Element public String minutes; } @org.simpleframework.xml.Element public String head; @org.simpleframework.xml.Element(name="operations") public String operationInfo; //driftsinfo @ElementList(required=false) public List entries = new ArrayList(); @org.simpleframework.xml.Element public String plan; // koereplan }