java.lang.Object
de.turnertech.ows.gml.Distance
- All Implemented Interfaces:
GmlElement
gml:measure
-
Field Summary
FieldsFields inherited from interface de.turnertech.ows.gml.GmlElement
NAMESPACE
-
Method Summary
Modifier and TypeMethodDescriptionboolean
equalsDistance
(Distance other) boolean
equalsDistance
(Distance other, double tolerance) static Distance
fromFeet
(double feet) static Distance
fromKilometres
(double kilometres) static Distance
fromMetres
(double metres) static Distance
fromNauticalMiles
(double nauticalMiles) getUnit()
double
getValue()
inFeet()
inMetres()
toString()
void
writeGml
(XMLStreamWriter out, String localName, String namespaceURI, SpatialReferenceSystemRepresentation srs) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.turnertech.ows.gml.GmlElement
toGml, toGml, writeGml, writeGmlStartElement
-
Field Details
-
GML_NAME
- See Also:
-
MIN_TOLERANCE
-
-
Method Details
-
fromMetres
-
inMetres
-
fromKilometres
-
inKilometres
-
fromFeet
-
inFeet
-
fromNauticalMiles
-
inNauticalMiles
-
getValue
public double getValue() -
getUnit
-
toString
-
equalsDistance
-
equalsDistance
-
writeGml
public void writeGml(XMLStreamWriter out, String localName, String namespaceURI, SpatialReferenceSystemRepresentation srs) - Specified by:
writeGml
in interfaceGmlElement
-
getGmlName
- Specified by:
getGmlName
in interfaceGmlElement
-