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