Class CD_ImageDatum
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType>
org.apache.sis.internal.jaxb.gco.PropertyType<CD_ImageDatum,org.opengis.referencing.datum.ImageDatum>
org.apache.sis.internal.jaxb.referencing.CD_ImageDatum
public final class CD_ImageDatum
extends PropertyType<CD_ImageDatum,org.opengis.referencing.datum.ImageDatum>
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_ImageDatum
(org.opengis.referencing.datum.ImageDatum datum) Constructor for thewrap(org.opengis.referencing.datum.ImageDatum)
method only. -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<org.opengis.referencing.datum.ImageDatum>
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:ImageDatum>
XML element.void
setElement
(DefaultImageDatum datum) Invoked by JAXB at unmarshalling time for storing the result temporarily.protected CD_ImageDatum
wrap
(org.opengis.referencing.datum.ImageDatum datum) Invoked byPropertyType
at marshalling time for wrapping the given value in a<gml:ImageDatum>
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_ImageDatum
public CD_ImageDatum()Empty constructor for JAXB only. -
CD_ImageDatum
private CD_ImageDatum(org.opengis.referencing.datum.ImageDatum datum) Constructor for thewrap(org.opengis.referencing.datum.ImageDatum)
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_ImageDatum,
org.opengis.referencing.datum.ImageDatum> - Returns:
ImageDatum.class
-
wrap
Invoked byPropertyType
at marshalling time for wrapping the given value in a<gml:ImageDatum>
XML element.- Specified by:
wrap
in classPropertyType<CD_ImageDatum,
org.opengis.referencing.datum.ImageDatum> - 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:ImageDatum>
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.
-