Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||||||
CoordinatesType |
|
| 0.0;0 |
1 | // |
|
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs |
|
3 | // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
|
4 | // Any modifications to this file will be lost upon recompilation of the source schema. |
|
5 | // Generated on: 2008.06.11 at 12:15:46 AM EDT |
|
6 | // |
|
7 | ||
8 | ||
9 | package net.opengis.gml; |
|
10 | ||
11 | import javax.xml.bind.annotation.XmlAccessType; |
|
12 | import javax.xml.bind.annotation.XmlAccessorType; |
|
13 | import javax.xml.bind.annotation.XmlAttribute; |
|
14 | import javax.xml.bind.annotation.XmlType; |
|
15 | import javax.xml.bind.annotation.XmlValue; |
|
16 | ||
17 | ||
18 | /** |
|
19 | * Tables or arrays of tuples. |
|
20 | * May be used for text-encoding of values from a table. |
|
21 | * Actually just a string, but allows the user to indicate which characters are used as separators. |
|
22 | * The value of the 'cs' attribute is the separator for coordinate values, |
|
23 | * and the value of the 'ts' attribute gives the tuple separator (a single space by default); |
|
24 | * the default values may be changed to reflect local usage. |
|
25 | * Defaults to CSV within a tuple, space between tuples. |
|
26 | * However, any string content will be schema-valid. |
|
27 | * |
|
28 | * <p>Java class for CoordinatesType complex type. |
|
29 | * |
|
30 | * <p>The following schema fragment specifies the expected content contained within this class. |
|
31 | * |
|
32 | * <pre> |
|
33 | * <complexType name="CoordinatesType"> |
|
34 | * <simpleContent> |
|
35 | * <extension base="<http://www.w3.org/2001/XMLSchema>string"> |
|
36 | * <attribute name="decimal" type="{http://www.w3.org/2001/XMLSchema}string" default="." /> |
|
37 | * <attribute name="cs" type="{http://www.w3.org/2001/XMLSchema}string" default="," /> |
|
38 | * <attribute name="ts" type="{http://www.w3.org/2001/XMLSchema}string" default=" " /> |
|
39 | * </extension> |
|
40 | * </simpleContent> |
|
41 | * </complexType> |
|
42 | * </pre> |
|
43 | * |
|
44 | * |
|
45 | */ |
|
46 | @XmlAccessorType(XmlAccessType.FIELD) |
|
47 | @XmlType(name = "CoordinatesType", propOrder = { |
|
48 | "value" |
|
49 | }) |
|
50 | 0 | public class CoordinatesType { |
51 | ||
52 | @XmlValue |
|
53 | protected String value; |
|
54 | @XmlAttribute |
|
55 | protected String decimal; |
|
56 | @XmlAttribute |
|
57 | protected String cs; |
|
58 | @XmlAttribute |
|
59 | protected String ts; |
|
60 | ||
61 | /** |
|
62 | * Gets the value of the value property. |
|
63 | * |
|
64 | * @return |
|
65 | * possible object is |
|
66 | * {@link String } |
|
67 | * |
|
68 | */ |
|
69 | public String getValue() { |
|
70 | 0 | return value; |
71 | } |
|
72 | ||
73 | /** |
|
74 | * Sets the value of the value property. |
|
75 | * |
|
76 | * @param value |
|
77 | * allowed object is |
|
78 | * {@link String } |
|
79 | * |
|
80 | */ |
|
81 | public void setValue(String value) { |
|
82 | 0 | this.value = value; |
83 | 0 | } |
84 | ||
85 | /** |
|
86 | * Gets the value of the decimal property. |
|
87 | * |
|
88 | * @return |
|
89 | * possible object is |
|
90 | * {@link String } |
|
91 | * |
|
92 | */ |
|
93 | public String getDecimal() { |
|
94 | 0 | if (decimal == null) { |
95 | 0 | return "."; |
96 | } else { |
|
97 | 0 | return decimal; |
98 | } |
|
99 | } |
|
100 | ||
101 | /** |
|
102 | * Sets the value of the decimal property. |
|
103 | * |
|
104 | * @param value |
|
105 | * allowed object is |
|
106 | * {@link String } |
|
107 | * |
|
108 | */ |
|
109 | public void setDecimal(String value) { |
|
110 | 0 | this.decimal = value; |
111 | 0 | } |
112 | ||
113 | /** |
|
114 | * Gets the value of the cs property. |
|
115 | * |
|
116 | * @return |
|
117 | * possible object is |
|
118 | * {@link String } |
|
119 | * |
|
120 | */ |
|
121 | public String getCs() { |
|
122 | 0 | if (cs == null) { |
123 | 0 | return ","; |
124 | } else { |
|
125 | 0 | return cs; |
126 | } |
|
127 | } |
|
128 | ||
129 | /** |
|
130 | * Sets the value of the cs property. |
|
131 | * |
|
132 | * @param value |
|
133 | * allowed object is |
|
134 | * {@link String } |
|
135 | * |
|
136 | */ |
|
137 | public void setCs(String value) { |
|
138 | 0 | this.cs = value; |
139 | 0 | } |
140 | ||
141 | /** |
|
142 | * Gets the value of the ts property. |
|
143 | * |
|
144 | * @return |
|
145 | * possible object is |
|
146 | * {@link String } |
|
147 | * |
|
148 | */ |
|
149 | public String getTs() { |
|
150 | 0 | if (ts == null) { |
151 | 0 | return " "; |
152 | } else { |
|
153 | 0 | return ts; |
154 | } |
|
155 | } |
|
156 | ||
157 | /** |
|
158 | * Sets the value of the ts property. |
|
159 | * |
|
160 | * @param value |
|
161 | * allowed object is |
|
162 | * {@link String } |
|
163 | * |
|
164 | */ |
|
165 | public void setTs(String value) { |
|
166 | 0 | this.ts = value; |
167 | 0 | } |
168 | ||
169 | } |