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-2026 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 Wouter Schakel
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      /** Centroid path. */
26      public static final String CENTROID = NETWORK + ".Centroid";
27  
28      /** Connector path. */
29      public static final String CONNECTOR = NETWORK + ".Connector";
30  
31      /** Node path. */
32      public static final String NODE = NETWORK + ".Node";
33  
34      /** Link path. */
35      public static final String LINK = NETWORK + ".Link";
36  
37      /** Traffic light path. */
38      public static final String TRAFFIC_LIGHT = LINK + ".TrafficLight";
39  
40      /** Polyline coordinate path. */
41      public static final String POLYLINE_COORDINATE = LINK + ".Polyline.Coordinate";
42  
43      /** Road layout path. */
44      public static final String ROADLAYOUT = LINK + ".RoadLayout";
45  
46      /** OD options item path. */
47      public static final String OD_OPTIONS_ITEM = "Ots.Demand.OdOptions.OdOptionsItem";
48  
49      /** Generator path. */
50      public static final String GENERATOR = "Ots.Demand.Generator";
51  
52      /** List generator path. */
53      public static final String LIST_GENERATOR = "Ots.Demand.ListGenerator";
54  
55      /** Sink path. */
56      public static final String SINK = "Ots.Demand.Sink";
57  
58      /** Correlation path. */
59      public static final String CORRELATION = "Ots.Models.Model.ModelParameters.Correlation";
60  
61      /** Scenarios path. */
62      public static final String SCENARIOS = "Ots.Scenarios";
63  
64      /** Default input parameters path. */
65      public static final String DEFAULT_INPUT_PARAMETERS = SCENARIOS + ".DefaultInputParameters";
66  
67      /** Default string input parameter path. */
68      public static final String DEFAULT_INPUT_PARAMETER_STRING = DEFAULT_INPUT_PARAMETERS + ".String";
69  
70      /** Scenario path. */
71      public static final String SCENARIO = SCENARIOS + ".Scenario";
72  
73      /** Input parameters path. */
74      public static final String INPUT_PARAMETERS = SCENARIO + ".InputParameters";
75  
76      /**
77       * Constructor.
78       */
79      private XsdPaths()
80      {
81          //
82      }
83  
84  }