001package jmri.jmrit.operations.rollingstock.cars;
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 NAME = "name"; // NOI18N
018    static final String LOAD = "load"; // NOI18N
019    static final String TYPE = "type"; // NOI18N
020
021    static final String TRUE = "true"; // NOI18N
022    static final String FALSE = "false"; // NOI18N
023
024    // Car.java
025    static final String CAR = "car"; // NOI18N
026    static final String PASSENGER = "passenger"; // NOI18N
027    static final String HAZARDOUS = "hazardous"; // NOI18N
028    static final String CABOOSE = "caboose"; // NOI18N
029    static final String FRED = "fred"; // NOI18N
030    static final String UTILITY = "utility"; // NOI18N
031    static final String KERNEL = "kernel"; // NOI18N
032    static final String LEAD_KERNEL = "leadKernel"; // NOI18N
033
034    static final String LOAD_FROM_STAGING = "loadFromStaging"; // NOI18N
035    static final String WAIT = "wait"; // NOI18N
036    static final String PICKUP_SCHEDULE_ID = "pickupId"; // NOI18N
037    static final String ORDER = "order"; // NOI18N
038    static final String SCHEDULE_ID = "scheduleId"; // NOI18N
039    static final String NEXT_LOAD = "nextLoad"; // NOI18N
040    static final String NEXT_DEST_ID = "nextDestId"; // NOI18N
041    static final String NEXT_DEST_TRACK_ID = "nextDestTrackId"; // NOI18N
042    static final String PREVIOUS_NEXT_DEST_ID = "previousNextDestId"; // NOI18N
043    static final String PREVIOUS_NEXT_DEST_TRACK_ID = "previousNextDestTrackId"; // NOI18N 
044    static final String PREVIOUS_SCHEDULE_ID = "previousScheduleId"; // NOI18N
045    static final String RWE_DEST_ID = "rweDestId"; // NOI18N
046    static final String RWE_DEST_TRACK_ID = "rweDestTrackId"; // NOI18N
047    static final String RWE_LOAD = "rweLoad"; // NOI18N
048    static final String RWL_DEST_ID = "rwlDestId"; // NOI18N
049    static final String RWL_DEST_TRACK_ID = "rwlDestTrackId"; // NOI18N
050    static final String RWL_LOAD = "rwlLoad"; // NOI18N
051    static final String ROUTE_PATH = "routePath"; // NOI18N
052
053    // CarManager.java
054    static final String OPTIONS = "options"; // NOI18N
055    static final String CARS = "cars"; // NOI18N
056    static final String CARS_OPTIONS = "carsOptions"; // NOI18N
057    static final String KERNELS = "kernels"; // NOI18N
058    static final String NEW_KERNELS = "newKernels"; // NOI18N
059
060    // CarTypes.java
061    static final String CAR_TYPES = "carTypes"; // NOI18N
062    static final String TYPES = "types"; // NOI18N
063
064    // CarRoads.java
065    static final String ROAD_NAMES = "roadNames"; // NOI18N
066    static final String ROADS = "roads"; // NOI18N
067    static final String ROAD = "road"; // NOI18N 
068
069    // CarOwners.java
070    static final String CAR_OWNERS = "carOwners"; // NOI18N
071    static final String OWNERS = "owners"; // NOI18N
072    static final String OWNER = "owner"; // NOI18N
073
074    // CarColors.java
075    static final String CAR_COLORS = "carColors"; // NOI18N
076    static final String COLORS = "colors"; // NOI18N
077    static final String COLOR = "color"; // NOI18N
078
079    // CarLengths.java
080    static final String CAR_LENGTHS = "carLengths"; // NOI18N
081    static final String LENGTHS = "lengths"; // NOI18N
082    static final String LENGTH = "length"; // NOI18N
083    static final String VALUE = "value"; // NOI18N
084
085    // CarLoads.java
086    static final String LOADS = "loads"; // NOI18N
087    static final String NAMES = "names"; // NOI18N old style had a list of names
088    static final String DEFAULTS = "defaults"; // NOI18N
089    static final String EMPTY = "empty"; // NOI18N 
090    static final String CAR_LOAD = "carLoad"; // NOI18N
091    static final String PRIORITY = "priority"; // NOI18N 
092    static final String PICKUP_COMMENT = "pickupComment"; // NOI18N
093    static final String DROP_COMMENT = "dropComment"; // NOI18N
094    static final String LOAD_TYPE = "loadType"; // NOI18N
095
096}