001package jmri.jmrit.operations.rollingstock;
002
003/**
004 * A convenient place to access operations xml element and attribute names.
005 *
006 * @author Daniel Boudreau Copyright (C) 2012
007 * 
008 *
009 */
010public class Xml {
011
012    private Xml(){
013        //class of constants
014    }
015
016    // Common to operation xml files
017    static final String ID = "id"; // NOI18N
018    static final String NAME = "name"; // NOI18N
019    static final String CAR_TYPES = "carTypes"; // NOI18N
020    static final String DIR = "dir"; // NOI18N
021    static final String COMMENT = "comment"; // NOI18N
022    static final String TRACK = "track"; // NOI18N
023    public static final String TYPE = "type"; // NOI18N
024    static final String LENGTH = "length"; // NOI18N
025
026    static final String TRUE = "true"; // NOI18N
027    static final String FALSE = "false"; // NOI18N
028
029    // RollingStock.java
030    static final String ROAD_NUMBER = "roadNumber"; // NOI18N
031    static final String ROAD_NAME = "roadName"; // NOI18N
032    static final String COLOR = "color"; // NOI18N
033    static final String WEIGHT = "weight"; // NOI18N
034    static final String WEIGHT_TONS = "weightTons"; // NOI18N
035    static final String BUILT = "built"; // NOI18N
036    static final String LOCATION = "location"; // NOI18N
037    static final String MOVES = "moves"; // NOI18N
038    static final String OWNER = "owner"; // NOI18N
039    static final String VALUE = "value"; // NOI18N
040    static final String RFID = "rfid"; // NOI18N
041    static final String TRAIN = "train"; // NOI18N
042    static final String TRAIN_ID = "trainId"; // NOI18N
043    static final String OUT_OF_SERVICE = "outOfService"; // NOI18N
044    static final String DESTINATION = "destination"; // NOI18N
045    static final String DES_TRACK = "desTrack"; // NOI18N
046    static final String LOC_UNKNOWN = "locUnknown"; // NOI18N
047    static final String DATE = "date"; // NOI18N
048    static final String BLOCKING = "blocking"; // NOI18N
049    static final String SELECTED = "selected"; // NOI18N
050
051    static final String LOCATION_ID = "locationId"; // NOI18N
052    static final String SEC_LOCATION_ID = "secLocationId"; // NOI18N
053    static final String DESTINATION_ID = "destinationId"; // NOI18N
054    static final String SEC_DESTINATION_ID = "secDestinationId"; // NOI18N
055    static final String LAST_LOCATION_ID = "lastLocationId"; // NOI18N
056    static final String LAST_TRACK_ID = "lastTrackId"; // NOI18N
057    static final String ROUTE_LOCATION_ID = "routeLocationId"; // NOI18N
058    static final String ROUTE_DESTINATION_ID = "routeDestinationId"; // NOI18N
059    static final String LAST_ROUTE_ID = "lastRouteId"; // NOI18N
060    static final String DIVISION_ID_ERROR = "DivisionId"; // NOI18N
061    static final String DIVISION_ID = "divisionId"; // NOI18N
062
063    // Car.java
064    static final String PASSENGER = "passenger"; // NOI18N
065    static final String LOAD = "load"; // NOI18N
066    static final String SHIP = "ship"; // NOI18N
067}