CoordinatesType.java
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference
// Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.12.08 at 10:18:04 AM CET
//
package nl.b3p.topnl.top250nl;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* This type is deprecated for tuples with ordinate values that are numbers. CoordinatesType is a
* text string, intended to be used to record an array of tuples or coordinates. While it is not
* possible to enforce the internal structure of the string through schema validation, some optional
* attributes have been provided in previous versions of GML to support a description of the
* internal structure. These attributes are deprecated. The attributes were intended to be used as
* follows: Decimal symbol used for a decimal point (default="." a stop or period) cs symbol used to
* separate components within a tuple or coordinate string (default="," a comma) ts symbol used to
* separate tuples or coordinate strings (default=" " a space) Since it is based on the XML Schema
* string type, CoordinatesType may be used in the construction of tables of tuples or arrays of
* tuples, including ones that contain mixed text and numeric values.
*
* <p>Java class for CoordinatesType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="CoordinatesType">
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="decimal" type="{http://www.w3.org/2001/XMLSchema}string" default="." />
* <attribute name="cs" type="{http://www.w3.org/2001/XMLSchema}string" default="," />
* <attribute name="ts" type="{http://www.w3.org/2001/XMLSchema}string" default=" " />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(
name = "CoordinatesType",
propOrder = {"value"})
public class CoordinatesType {
@XmlValue protected String value;
@XmlAttribute(name = "decimal")
protected String decimal;
@XmlAttribute(name = "cs")
protected String cs;
@XmlAttribute(name = "ts")
protected String ts;
/**
* Gets the value of the value property.
*
* @return possible object is {@link String }
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value allowed object is {@link String }
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the decimal property.
*
* @return possible object is {@link String }
*/
public String getDecimal() {
if (decimal == null) {
return ".";
} else {
return decimal;
}
}
/**
* Sets the value of the decimal property.
*
* @param value allowed object is {@link String }
*/
public void setDecimal(String value) {
this.decimal = value;
}
/**
* Gets the value of the cs property.
*
* @return possible object is {@link String }
*/
public String getCs() {
if (cs == null) {
return ",";
} else {
return cs;
}
}
/**
* Sets the value of the cs property.
*
* @param value allowed object is {@link String }
*/
public void setCs(String value) {
this.cs = value;
}
/**
* Gets the value of the ts property.
*
* @return possible object is {@link String }
*/
public String getTs() {
if (ts == null) {
return " ";
} else {
return ts;
}
}
/**
* Sets the value of the ts property.
*
* @param value allowed object is {@link String }
*/
public void setTs(String value) {
this.ts = value;
}
}