Class MD_MetadataScope
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType>
org.apache.sis.internal.jaxb.gco.PropertyType<MD_MetadataScope,DefaultMetadataScope>
org.apache.sis.internal.jaxb.metadata.MD_MetadataScope
JAXB adapter mapping implementing class to the GeoAPI interface. See
package documentation for more information about JAXB and interface.
- Since:
- 0.5
- Version:
- 0.5
-
Field Summary
Fields inherited from class org.apache.sis.internal.jaxb.gco.PropertyType
metadata -
Constructor Summary
ConstructorsModifierConstructorDescriptionEmpty constructor for JAXB only.privateConstructor for thewrap(org.apache.sis.metadata.iso.DefaultMetadataScope)method only. -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<DefaultMetadataScope>Returns the type which is bound by this adapter.Invoked by JAXB at marshalling time for getting the actual metadata to write inside the<mdb:MD_MetadataScope>XML element.voidsetElement(DefaultMetadataScope value) Invoked by JAXB at unmarshalling time for storing the result temporarily.protected MD_MetadataScopewrap(DefaultMetadataScope value) Invoked byPropertyTypeat marshalling time for wrapping the given metadata value in a<mdb:MD_MetadataScope>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_MetadataScope
public MD_MetadataScope()Empty constructor for JAXB only. -
MD_MetadataScope
Constructor for thewrap(org.apache.sis.metadata.iso.DefaultMetadataScope)method only.
-
-
Method Details
-
getBoundType
Returns the type which is bound by this adapter.- Specified by:
getBoundTypein classPropertyType<MD_MetadataScope,DefaultMetadataScope> - Returns:
MetadataScope.class
-
wrap
Invoked byPropertyTypeat marshalling time for wrapping the given metadata value in a<mdb:MD_MetadataScope>XML element.- Specified by:
wrapin classPropertyType<MD_MetadataScope,DefaultMetadataScope> - Parameters:
value- the metadata element to marshal.- Returns:
- a
PropertyTypewrapping the given the metadata element.
-
getElement
Invoked by JAXB at marshalling time for getting the actual metadata to write inside the<mdb:MD_MetadataScope>XML element. This is the value or a copy of the value given in argument to thewrapmethod.- Returns:
- the metadata to be marshalled.
-
setElement
Invoked by JAXB at unmarshalling time for storing the result temporarily.- Parameters:
value- the unmarshalled metadata.
-