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