Class SC_VerticalCRS
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<SC_VerticalCRS,org.opengis.referencing.crs.VerticalCRS>
org.apache.sis.internal.jaxb.gco.PropertyType<SC_VerticalCRS,org.opengis.referencing.crs.VerticalCRS>
org.apache.sis.internal.jaxb.gml.SC_VerticalCRS
org.apache.sis.internal.jaxb.referencing.SC_VerticalCRS
- All Implemented Interfaces:
AdapterReplacement
JAXB adapter for
VerticalCRS
, in order to integrate the value in an element
complying with OGC/ISO standard. Note that the CRS is formatted using the GML schema,
not the ISO 19139:2007 one.- Since:
- 0.4
- Version:
- 0.4
-
Field Summary
Fields inherited from class org.apache.sis.internal.jaxb.gco.PropertyType
metadata
-
Constructor Summary
ConstructorsModifierConstructorDescriptionEmpty constructor for JAXB only.private
SC_VerticalCRS
(org.opengis.referencing.crs.VerticalCRS crs) Wraps a Vertical CRS value in a<gml:VerticalCRS>
element at marshalling-time. -
Method Summary
Modifier and TypeMethodDescriptionReturns theDefaultVerticalCRS
created from the metadata value.void
register
(Marshaller marshaller) Replaces thesis-metadata
adapter by this adapter.void
register
(Unmarshaller unmarshaller) Replaces thesis-metadata
adapter by this adapter.protected SC_VerticalCRS
wrap
(org.opengis.referencing.crs.VerticalCRS value) Returns the Vertical CRS value wrapped by a<gml:VerticalCRS>
element.Methods inherited from class org.apache.sis.internal.jaxb.gml.SC_VerticalCRS
getBoundType, setElement
Methods inherited from class org.apache.sis.internal.jaxb.gco.PropertyType
accept2014, getActuate, getArcRole, getHRef, getNilReason, getRole, getShow, getTitle, getUUIDREF, incomplete, marshal, setActuate, setArcRole, setHRef, setNilReason, setRole, setShow, setTitle, setUUIDREF, unmarshal
-
Constructor Details
-
SC_VerticalCRS
public SC_VerticalCRS()Empty constructor for JAXB only. -
SC_VerticalCRS
private SC_VerticalCRS(org.opengis.referencing.crs.VerticalCRS crs) Wraps a Vertical CRS value in a<gml:VerticalCRS>
element at marshalling-time.- Parameters:
crs
- the value to marshal.
-
-
Method Details
-
register
Replaces thesis-metadata
adapter by this adapter.- Specified by:
register
in interfaceAdapterReplacement
- Parameters:
marshaller
- The marshaller to be configured.
-
register
Replaces thesis-metadata
adapter by this adapter.- Specified by:
register
in interfaceAdapterReplacement
- Parameters:
unmarshaller
- The unmarshaller to be configured.
-
wrap
Returns the Vertical CRS value wrapped by a<gml:VerticalCRS>
element.- Overrides:
wrap
in classSC_VerticalCRS
- Parameters:
value
- the value to marshal.- Returns:
- the wrapper for the metadata value.
-
getElement
Returns theDefaultVerticalCRS
created from the metadata value. This method is systematically called at marshalling-time by JAXB.- Overrides:
getElement
in classSC_VerticalCRS
- Returns:
- the CRS to be marshalled.
-