001package jmri.jmrit.operations.rollingstock.engines;
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 NAME = "name"; // NOI18N
018    protected static final String LENGTH = "length"; // NOI18N
019    protected static final String MODEL = "model"; // NOI18N
020
021    protected static final String TRUE = "true"; // NOI18N
022    protected static final String FALSE = "false"; // NOI18N
023
024    // Engine.java
025    protected static final String ENGINE = "engine"; // NOI18N
026    protected static final String HP = "hp"; // NOI18N
027    protected static final String TYPE = "type"; // NOI18N
028    protected static final String B_UNIT = "bUnit"; // NOI18N
029
030    protected static final String WEIGHT_TONS = "weightTons"; // NOI18N
031    protected static final String CONSIST = "consist"; // NOI18N
032    protected static final String LEAD_CONSIST = "leadConsist"; // NOI18N
033    protected static final String CONSIST_NUM = "consistNum"; // NOI18N
034
035    // EngineManager.java
036    protected static final String ENGINES_OPTIONS = "enginesOptions"; // NOI18N
037    protected static final String OPTIONS = "options"; // NOI18N
038    protected static final String CONSISTS = "consists";  // NOI18N
039    protected static final String NEW_CONSISTS = "newConsists";  // NOI18N
040
041    // EngineManagerXml.java
042    protected static final String ENGINES = "engines";  // NOI18N
043
044    // EngineModels.java
045    protected static final String ENGINE_MODELS = "engineModels";  // NOI18N
046    protected static final String MODELS = "models";  // NOI18N
047
048    // EngineTypes.java
049    protected static final String ENGINE_TYPES = "engineTypes";  // NOI18N
050    protected static final String TYPES = "types"; // NOI18N
051
052    // EngineLengths.java
053    protected static final String ENGINE_LENGTHS = "engineLengths";  // NOI18N
054    protected static final String LENGTHS = "lengths"; // NOI18N
055    protected static final String VALUE = "value"; // NOI18N
056
057}