1 package org.opentrafficsim.road.network.factory.vissim;
2
3 import java.io.Serializable;
4
5 import org.djunits.value.vdouble.scalar.Length;
6 import org.opentrafficsim.core.network.NetworkException;
7 import org.xml.sax.SAXException;
8
9
10
11
12
13
14
15
16
17
18 class StraightTag implements Serializable
19 {
20
21 private static final long serialVersionUID = 20150724L;
22
23
24 @SuppressWarnings("checkstyle:visibilitymodifier")
25 Length length = null;
26
27
28
29
30
31
32
33
34
35 @SuppressWarnings("checkstyle:needbraces")
36 static void parseStraight(final String coords, final VissimNetworkLaneParser parser, final LinkTag linkTag)
37 throws SAXException, NetworkException
38 {
39 linkTag.straightTag = new StraightTag();
40
41 }
42
43
44
45
46 public StraightTag()
47 {
48
49 }
50
51
52
53
54 public StraightTag(StraightTag straightTag)
55 {
56 if (straightTag != null)
57 {
58 this.length = straightTag.length;
59 }
60 }
61
62
63 @Override
64 public final String toString()
65 {
66 return "StraightTag [length=" + this.length + "]";
67 }
68 }