View Javadoc
1   package org.opentrafficsim.editor;
2   
3   /**
4    * Class where static fields define paths in the XML. This is to provide a central location to implement changes in the XML
5    * Schema. Another place where many paths are defined is {@code DefaultDecorator}. Still, many single attribute/child references
6    * are defined throughout other classes.
7    * <p>
8    * Copyright (c) 2023-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
9    * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
10   * </p>
11   * @author <a href="https://github.com/wjschakel">Wouter Schakel</a>
12   */
13  public final class XsdPaths
14  {
15  
16      /** Definitions path. */
17      public static final String DEFINITIONS = "Ots.Definitions";
18  
19      /** Defined road layout path. */
20      public static final String DEFINED_ROADLAYOUT = DEFINITIONS + ".RoadLayouts.RoadLayout";
21      
22      /** Network path. */
23      public static final String NETWORK = "Ots.Network";
24      
25      /** Connector path. */
26      public static final String CONNECTOR = NETWORK + ".Connector";
27  
28      /** Node path. */
29      public static final String NODE = NETWORK + ".Node";
30  
31      /** Link path. */
32      public static final String LINK = NETWORK + ".Link";
33      
34      /** Traffic light path. */
35      public static final String TRAFFIC_LIGHT = LINK + ".TrafficLight";
36      
37      /** Polyline coordinate path. */
38      public static final String POLYLINE_COORDINATE = LINK + ".Polyline.Coordinate";
39      
40      /** Road layout path. */
41      public static final String ROADLAYOUT = LINK + ".RoadLayout";
42      
43      /** OD options item path. */
44      public static final String OD_OPTIONS_ITEM = "Ots.Demand.OdOptions.OdOptionsItem";
45      
46      /** Generator path. */
47      public static final String GENERATOR = "Ots.Demand.Generator";
48      
49      /** List generator path. */
50      public static final String LIST_GENERATOR = "Ots.Demand.ListGenerator";
51      
52      /** Sink path. */
53      public static final String SINK = "Ots.Demand.Sink";
54      
55      /** Correlation path. */
56      public static final String CORRELATION = "Ots.Models.Model.ModelParameters.Correlation";
57  
58      /** Scenarios path. */
59      public static final String SCENARIOS = "Ots.Scenarios";
60      
61      /** Default input parameters path. */
62      public static final String DEFAULT_INPUT_PARAMETERS = SCENARIOS + ".DefaultInputParameters";
63      
64      /** Default string input parameter path. */
65      public static final String DEFAULT_INPUT_PARAMETER_STRING = DEFAULT_INPUT_PARAMETERS + ".String";
66      
67      /** Scenario path. */
68      public static final String SCENARIO = SCENARIOS + ".Scenario";
69  
70      /** Input parameters path. */
71      public static final String INPUT_PARAMETERS = SCENARIO + ".InputParameters";
72  
73  }