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    static final String ID = "id"; // NOI18N
018    static final String NAME = "name"; // NOI18N
019    static final String COMMENT = "comment"; // NOI18N
020
021    static final String TRUE = "true"; // NOI18N
022    static final String FALSE = "false"; // NOI18N
023    static final String YES = "yes"; // NOI18N
024    static final String NO = "no"; // NOI18N
025
026    // Route.java
027    static final String ROUTE = "route"; // NOI18N
028    static final String LOCATION = "location"; // NOI18N
029
030    // RouteLocation.java
031    static final String LOCATION_ID = "locationId"; // NOI18N
032    static final String TRAIN_DIRECTION = "trainDirection"; // NOI18N
033    static final String MAX_TRAIN_LENGTH = "maxTrainLength"; // NOI18N
034    static final String GRADE = "grade"; // NOI18N
035    static final String MAX_CAR_MOVES = "maxCarMoves"; // NOI18N
036    static final String RANDOM_CONTROL = "randomControl"; // NOI18N
037    static final String PICKUPS = "pickups"; // NOI18N
038    static final String DROPS = "drops"; // NOI18N
039    static final String WAIT = "wait"; // NOI18N
040    static final String DEPART_TIME = "departTime"; // NOI18N
041    static final String TRAIN_ICON_X = "trainIconX"; // NOI18N
042    static final String TRAIN_ICON_Y = "trainIconY"; // NOI18N
043    static final String TRAIN_ICON_RANGE_X = "trainIconRangeX"; // NOI18N
044    static final String TRAIN_ICON_RANGE_Y = "trainIconRangeY"; // NOI18N
045    static final String SEQUENCE_ID = "sequenceId"; // NOI18N
046    static final String BLOCKING_ORDER = "order";
047    static final String COMMENT_COLOR = "commentColor";
048
049    // RouteManagerXml.java
050    static final String ROUTES = "routes"; // NOI18N
051
052}