001package jmri.jmrit.operations.locations;
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    protected static final String ID = "id"; // NOI18N
018    protected static final String NAME = "name"; // NOI18N
019    protected static final String CAR_TYPES = "carTypes"; // NOI18N
020    protected static final String DIR = "dir"; // NOI18N
021    protected static final String COMMENT = "comment"; // NOI18N
022    protected static final String SCHEDULE = "schedule"; // NOI18N
023    protected static final String TRACK = "track"; // NOI18N
024    protected static final String TYPES = "types"; // NOI18N
025    protected static final String LOCO_TYPE = "locoType"; // NOI18N
026    protected static final String CAR_TYPE = "carType"; // NOI18N
027
028    protected static final String TRUE = "true"; // NOI18N
029    protected static final String FALSE = "false"; // NOI18N
030
031    // LocationManager.java
032    protected static final String LOCATIONS = "locations"; // NOI18N
033
034    // Location.java
035    protected static final String LOCATION = "location"; // NOI18N
036    protected static final String OPS = "ops"; // NOI18N
037    protected static final String SWITCH_LIST = "switchList"; // NOI18N
038    protected static final String SWITCH_LIST_STATE = "switchListState"; // NOI18N
039    protected static final String PRINTER_NAME = "printerName"; // NOI18N
040
041    protected static final String EAST_TRAIN_ICON_X = "eastTrainIconX"; // NOI18N
042    protected static final String EAST_TRAIN_ICON_Y = "eastTrainIconY"; // NOI18N
043    protected static final String WEST_TRAIN_ICON_X = "westTrainIconX"; // NOI18N
044    protected static final String WEST_TRAIN_ICON_Y = "westTrainIconY"; // NOI18N
045    protected static final String NORTH_TRAIN_ICON_X = "northTrainIconX"; // NOI18N
046    protected static final String NORTH_TRAIN_ICON_Y = "northTrainIconY"; // NOI18N
047    protected static final String SOUTH_TRAIN_ICON_X = "southTrainIconX"; // NOI18N
048    protected static final String SOUTH_TRAIN_ICON_Y = "southTrainIconY"; // NOI18N
049    protected static final String TRAIN_ICON_RANGE_X = "trainIconRangeX"; // NOI18N
050    protected static final String TRAIN_ICON_RANGE_Y = "trainIconRangeY"; // NOI18N
051    protected static final String READER = "idReader"; // NOI18N
052
053    protected static final String PHYSICAL_LOCATION = "physicalLocation"; // NOI18N
054    protected static final String SWITCH_LIST_COMMENT = "switchListComment"; // NOI18N
055    protected static final String SECONDARY = "secondary"; // early version of operations called tracks "secondary" // NOI18N
056    protected static final String DIVISION_ID_ERROR = "DivisionId"; // NOI18N
057    protected static final String DIVISION_ID = "divisionId"; // NOI18N
058
059    // Track.java
060    protected static final String LOC_TYPE = "locType"; // NOI18N
061    protected static final String TRACK_TYPE = "trackType"; // NOI18N
062    protected static final String LENGTH = "length"; // NOI18N
063    protected static final String MOVES = "moves"; // NOI18N
064    protected static final String TRACK_PRIORITY = "trackPriority"; // NOI18N
065    protected static final String BLOCKING_ORDER = "blockingOrder"; // NOI18N
066    protected static final String CAR_ROAD_OPERATION = "carRoadOperation"; // NOI18N misspelled should have been carRoadOption
067    protected static final String CAR_ROAD_OPTION = "carRoadOption"; // NOI18N
068    protected static final String CAR_ROADS = "carRoads"; // NOI18N
069    protected static final String CAR_ROAD = "carRoad"; // NOI18N
070    protected static final String CAR_LOAD_OPTION = "carLoadOption"; // NOI18N
071    protected static final String CAR_SHIP_LOAD_OPTION = "carShipLoadOption"; // NOI18N
072    protected static final String CAR_LOADS = "carLoads"; // NOI18N
073    protected static final String CAR_SHIP_LOADS = "carShipLoads"; // NOI18N
074    protected static final String CAR_LOAD = "carLoad"; // NOI18N
075    protected static final String DROP_IDS = "dropIds"; // NOI18N
076    protected static final String DROP_ID = "dropId"; // NOI18N
077    protected static final String DROP_OPTION = "dropOption"; // NOI18N
078    protected static final String PICKUP_IDS = "pickupIds"; // NOI18N
079    protected static final String PICKUP_ID = "pickupId"; // NOI18N
080    protected static final String PICKUP_OPTION = "pickupOption"; // NOI18N
081    protected static final String COMMENTS = "comments"; // NOI18N
082    protected static final String BOTH = "both"; // NOI18N
083    protected static final String PICKUP = "pickup"; // NOI18N
084    protected static final String SETOUT = "setout"; // NOI18N
085    protected static final String PRINT_MANIFEST = "printManifest"; // NOI18N
086    protected static final String PRINT_SWITCH_LISTS = "printSwitchLists"; // NOI18N
087    protected static final String TRACK_DESTINATION_OPTION = "trackDestinationOption"; // NOI18N
088    protected static final String DESTINATIONS = "destinations"; // NOI18N
089    protected static final String DESTINATION = "destination"; // NOI18N
090
091    protected static final String SCHEDULE_ID = "scheduleId"; // NOI18N
092    protected static final String ITEM_ID = "itemId"; // NOI18N
093    protected static final String ITEM_COUNT = "itemCount"; // NOI18N
094    protected static final String FACTOR = "factor"; // NOI18N
095    protected static final String SCHEDULE_MODE = "scheduleMode"; // NOI18N
096    protected static final String ALTERNATIVE = "alternative"; // NOI18N
097    protected static final String LOAD_OPTIONS = "loadOptions"; // NOI18N
098    protected static final String BLOCK_OPTIONS = "blockOptions"; // NOI18N
099    protected static final String ORDER = "order"; // NOI18N
100    protected static final String POOL = "pool"; // NOI18N
101    protected static final String MIN_LENGTH = "minLength"; // NOI18N
102    protected static final String MAX_LENGTH = "maxLength"; // NOI18N
103    protected static final String IGNORE_USED_PERCENTAGE = "ignoreUsedPercentage"; // NOI18N
104    protected static final String HOLD_CARS_CUSTOM = "holdCustomLoads"; // NOI18N
105    protected static final String ONLY_CARS_WITH_FD = "onlyCarWithFD"; // NOI18N
106
107}