Class SC_VerticalCRS
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType>
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.privateSC_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 theDefaultVerticalCRScreated from the metadata value.voidregister(Marshaller marshaller) Replaces thesis-metadataadapter by this adapter.voidregister(Unmarshaller unmarshaller) Replaces thesis-metadataadapter by this adapter.protected SC_VerticalCRSwrap(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, setElementMethods 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-metadataadapter by this adapter.- Specified by:
registerin interfaceAdapterReplacement- Parameters:
marshaller- The marshaller to be configured.
-
register
Replaces thesis-metadataadapter by this adapter.- Specified by:
registerin interfaceAdapterReplacement- Parameters:
unmarshaller- The unmarshaller to be configured.
-
wrap
Returns the Vertical CRS value wrapped by a<gml:VerticalCRS>element.- Overrides:
wrapin classSC_VerticalCRS- Parameters:
value- the value to marshal.- Returns:
- the wrapper for the metadata value.
-
getElement
Returns theDefaultVerticalCRScreated from the metadata value. This method is systematically called at marshalling-time by JAXB.- Overrides:
getElementin classSC_VerticalCRS- Returns:
- the CRS to be marshalled.
-