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