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 TypeMethodDescriptionbooleanequalsDistance(Distance other) booleanequalsDistance(Distance other, double tolerance) static DistancefromFeet(double feet) static DistancefromKilometres(double kilometres) static DistancefromMetres(double metres) static DistancefromNauticalMiles(double nauticalMiles) getUnit()doublegetValue()inFeet()inMetres()toString()voidwriteGml(XMLStreamWriter out, String localName, String namespaceURI, SpatialReferenceSystemRepresentation srs) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
writeGmlin interfaceGmlElement
-
getGmlName
- Specified by:
getGmlNamein interfaceGmlElement
-