Class CD_EngineeringDatum
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType>
org.apache.sis.internal.jaxb.gco.PropertyType<CD_EngineeringDatum,org.opengis.referencing.datum.EngineeringDatum>
org.apache.sis.internal.jaxb.referencing.CD_EngineeringDatum
public final class CD_EngineeringDatum
extends PropertyType<CD_EngineeringDatum,org.opengis.referencing.datum.EngineeringDatum>
JAXB adapter mapping implementing class to the GeoAPI interface. See
package documentation for more information about JAXB and interface.
- 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
CD_EngineeringDatum
(org.opengis.referencing.datum.EngineeringDatum datum) Constructor for thewrap(org.opengis.referencing.datum.EngineeringDatum)
method only. -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<org.opengis.referencing.datum.EngineeringDatum>
Returns the GeoAPI interface which is bound by this adapter.Invoked by JAXB at marshalling time for getting the actual element to write inside the<gml:EngineeringDatum>
XML element.void
Invoked by JAXB at unmarshalling time for storing the result temporarily.protected CD_EngineeringDatum
wrap
(org.opengis.referencing.datum.EngineeringDatum datum) Invoked byPropertyType
at marshalling time for wrapping the given value in a<gml:EngineeringDatum>
XML element.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
-
CD_EngineeringDatum
public CD_EngineeringDatum()Empty constructor for JAXB only. -
CD_EngineeringDatum
private CD_EngineeringDatum(org.opengis.referencing.datum.EngineeringDatum datum) Constructor for thewrap(org.opengis.referencing.datum.EngineeringDatum)
method only.
-
-
Method Details
-
getBoundType
Returns the GeoAPI interface which is bound by this adapter. This method is indirectly invoked by the private constructor below, so it shall not depend on the state of this object.- Specified by:
getBoundType
in classPropertyType<CD_EngineeringDatum,
org.opengis.referencing.datum.EngineeringDatum> - Returns:
EngineeringDatum.class
-
wrap
Invoked byPropertyType
at marshalling time for wrapping the given value in a<gml:EngineeringDatum>
XML element.- Specified by:
wrap
in classPropertyType<CD_EngineeringDatum,
org.opengis.referencing.datum.EngineeringDatum> - Parameters:
datum
- the element to marshal.- Returns:
- a
PropertyType
wrapping the given the element.
-
getElement
Invoked by JAXB at marshalling time for getting the actual element to write inside the<gml:EngineeringDatum>
XML element. This is the value or a copy of the value given in argument to thewrap
method.- Returns:
- the element to be marshalled.
-
setElement
Invoked by JAXB at unmarshalling time for storing the result temporarily.- Parameters:
datum
- the unmarshalled element.
-