Class MI_Requirement
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<MI_Requirement,org.opengis.metadata.acquisition.Requirement>
org.apache.sis.internal.jaxb.gco.PropertyType<MI_Requirement,org.opengis.metadata.acquisition.Requirement>
org.apache.sis.internal.jaxb.metadata.MI_Requirement
public final class MI_Requirement
extends PropertyType<MI_Requirement,org.opengis.metadata.acquisition.Requirement>
JAXB adapter mapping implementing class to the GeoAPI interface. See
package documentation for more information about JAXB and interface.
- Since:
- 0.3
- Version:
- 0.3
-
Field Summary
Fields inherited from class org.apache.sis.internal.jaxb.gco.PropertyType
metadata
-
Constructor Summary
ConstructorsModifierConstructorDescriptionEmpty constructor for JAXB only.private
MI_Requirement
(org.opengis.metadata.acquisition.Requirement value) Constructor for thewrap(org.opengis.metadata.acquisition.Requirement)
method only. -
Method Summary
Modifier and TypeMethodDescriptionprotected Class
<org.opengis.metadata.acquisition.Requirement> Returns the GeoAPI interface which is bound by this adapter.Invoked by JAXB at marshalling time for getting the actual metadata to write inside the<mac:MI_Requirement>
XML element.void
setElement
(DefaultRequirement value) Invoked by JAXB at unmarshalling time for storing the result temporarily.protected MI_Requirement
wrap
(org.opengis.metadata.acquisition.Requirement value) Invoked byPropertyType
at marshalling time for wrapping the given metadata value in a<mac:MI_Requirement>
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
-
MI_Requirement
public MI_Requirement()Empty constructor for JAXB only. -
MI_Requirement
private MI_Requirement(org.opengis.metadata.acquisition.Requirement value) Constructor for thewrap(org.opengis.metadata.acquisition.Requirement)
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<MI_Requirement,
org.opengis.metadata.acquisition.Requirement> - Returns:
Requirement.class
-
wrap
Invoked byPropertyType
at marshalling time for wrapping the given metadata value in a<mac:MI_Requirement>
XML element.- Specified by:
wrap
in classPropertyType<MI_Requirement,
org.opengis.metadata.acquisition.Requirement> - 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<mac:MI_Requirement>
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.
-