001package jmri.jmrit.operations.routes;
002
003/**
004 * A convenient place to access operations xml element and attribute names.
005 *
006 * @author Daniel Boudreau Copyright (C) 2013
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 COMMENT = "comment"; // NOI18N
020
021    protected static final String TRUE = "true"; // NOI18N
022    protected static final String FALSE = "false"; // NOI18N
023    protected static final String YES = "yes"; // NOI18N
024    protected static final String NO = "no"; // NOI18N
025
026    // Route.java
027    protected static final String ROUTE = "route"; // NOI18N
028    protected static final String LOCATION = "location"; // NOI18N
029
030    // RouteLocation.java
031    protected static final String LOCATION_ID = "locationId"; // NOI18N
032    protected static final String TRAIN_DIRECTION = "trainDirection"; // NOI18N
033    protected static final String MAX_TRAIN_LENGTH = "maxTrainLength"; // NOI18N
034    protected static final String GRADE = "grade"; // NOI18N
035    protected static final String MAX_CAR_MOVES = "maxCarMoves"; // NOI18N
036    protected static final String RANDOM_CONTROL = "randomControl"; // NOI18N
037    protected static final String PICKUPS = "pickups"; // NOI18N
038    protected static final String DROPS = "drops"; // NOI18N
039    protected static final String LOCAL_MOVES = "localMoves"; // NOI18N
040    protected static final String WAIT = "wait"; // NOI18N
041    protected static final String DEPART_DAY = "departDay"; // NOI18N
042    protected static final String DEPART_TIME = "departTime"; // NOI18N
043    protected static final String TRAIN_ICON_X = "trainIconX"; // NOI18N
044    protected static final String TRAIN_ICON_Y = "trainIconY"; // NOI18N
045    protected static final String TRAIN_ICON_RANGE_X = "trainIconRangeX"; // NOI18N
046    protected static final String TRAIN_ICON_RANGE_Y = "trainIconRangeY"; // NOI18N
047    protected static final String SEQUENCE_ID = "sequenceId"; // NOI18N
048    protected static final String BLOCKING_ORDER = "order";
049    protected static final String COMMENT_COLOR = "commentColor";
050
051    // RouteManagerXml.java
052    protected static final String ROUTES = "routes"; // NOI18N
053
054}