Package org.apache.sis.internal.jaxb.gco
Class UnitAdapter.ForCS
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,javax.measure.Unit<?>>
org.apache.sis.internal.jaxb.gco.UnitAdapter
org.apache.sis.internal.jaxb.gco.UnitAdapter.ForCS
- Enclosing class:
- UnitAdapter
A variant of
UnitAdapter
which marshal units as a URN for Coordinate System (CS) axes.
Example: "urn:ogc:def:uom:EPSG::9001"
.
The difference between coordinate system axis and other uses (prime meridian, etc.) is in the choice of EPSG
code for the degrees. See Units.getEpsgCode(Unit, boolean)
for more information.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.internal.jaxb.gco.UnitAdapter
UnitAdapter.ForCS, UnitAdapter.Since2014
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.sis.internal.jaxb.gco.UnitAdapter
unmarshal
-
Constructor Details
-
ForCS
public ForCS()
-
-
Method Details
-
marshal
Description copied from class:UnitAdapter
Returns the symbol of the given unit.- Overrides:
marshal
in classUnitAdapter
- Parameters:
value
- the unit.- Returns:
- the unit symbol.
-