Class MD_Resolution
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType>
org.apache.sis.internal.jaxb.gco.PropertyType<MD_Resolution,org.opengis.metadata.identification.Resolution>
org.apache.sis.internal.jaxb.metadata.MD_Resolution
- Direct Known Subclasses:
MD_Resolution.Since2014
public class MD_Resolution
extends PropertyType<MD_Resolution,org.opengis.metadata.identification.Resolution>
JAXB adapter mapping implementing class to the GeoAPI interface. See
package documentation for more information about JAXB and interface.
- Since:
- 0.3
- Version:
- 1.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Wraps the value only if marshalling an element from the ISO 19115:2014 metadata model. -
Field Summary
Fields inherited from class org.apache.sis.internal.jaxb.gco.PropertyType
metadata
-
Constructor Summary
ConstructorsModifierConstructorDescriptionEmpty constructor for JAXB only.private
MD_Resolution
(org.opengis.metadata.identification.Resolution value) Constructor for thewrap(org.opengis.metadata.identification.Resolution)
method only. -
Method Summary
Modifier and TypeMethodDescriptionprotected final Class<org.opengis.metadata.identification.Resolution>
Returns the GeoAPI interface which is bound by this adapter.final DefaultResolution
Invoked by JAXB at marshalling time for getting the actual metadata to write inside the<mri:MD_Resolution>
XML element.final void
setElement
(DefaultResolution value) Invoked by JAXB at unmarshalling time for storing the result temporarily.protected MD_Resolution
wrap
(org.opengis.metadata.identification.Resolution value) Invoked byPropertyType
at marshalling time for wrapping the given metadata value in a<mri:MD_Resolution>
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
-
MD_Resolution
public MD_Resolution()Empty constructor for JAXB only. -
MD_Resolution
private MD_Resolution(org.opengis.metadata.identification.Resolution value) Constructor for thewrap(org.opengis.metadata.identification.Resolution)
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<MD_Resolution,
org.opengis.metadata.identification.Resolution> - Returns:
Resolution.class
-
wrap
Invoked byPropertyType
at marshalling time for wrapping the given metadata value in a<mri:MD_Resolution>
XML element.- Specified by:
wrap
in classPropertyType<MD_Resolution,
org.opengis.metadata.identification.Resolution> - Parameters:
value
- the metadata element to marshal.- Returns:
- a
PropertyType
wrapping the given the metadata element.
-
getElement
Invoked by JAXB at marshalling time for getting the actual metadata to write inside the<mri:MD_Resolution>
XML element. This is the value or a copy of the value given in argument to thewrap
method.- Returns:
- the metadata to be marshalled.
-
setElement
Invoked by JAXB at unmarshalling time for storing the result temporarily.- Parameters:
value
- the unmarshalled metadata.
-