Package org.apache.sis.internal.jaxb.gco
Class GO_Record
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<GO_Record,org.opengis.util.Record>
org.apache.sis.internal.jaxb.gco.PropertyType<GO_Record,org.opengis.util.Record>
org.apache.sis.internal.jaxb.gco.GO_Record
- Direct Known Subclasses:
GO_Record.Since2014
JAXB wrapper in order to map implementing class with the GeoAPI interface.
See package documentation for more information about JAXB and interface.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Cullen Rombach (Image Matters), Martin Desruisseaux (Geomatys)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classWraps the value only if marshalling ISO 19115-3 element. -
Field Summary
Fields inherited from class org.apache.sis.internal.jaxb.gco.PropertyType
metadata -
Method Summary
Modifier and TypeMethodDescriptionprotected final Class<org.opengis.util.Record> Returns the GeoAPI interface which is bound by this adapter.final DefaultRecordReturns theDefaultRecordgenerated from the metadata value.final voidsetElement(DefaultRecord metadata) Sets the value for theDefaultRecord.protected GO_Recordwrap(org.opengis.util.Record value) Returns a wrapper for the givenRecordelement.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
-
Method Details
-
getBoundType
Returns the GeoAPI interface which is bound by this adapter.- Specified by:
getBoundTypein classPropertyType<GO_Record,org.opengis.util.Record> - Returns:
Record.class
-
wrap
Returns a wrapper for the givenRecordelement.- Specified by:
wrapin classPropertyType<GO_Record,org.opengis.util.Record> - Parameters:
value- the value to marshal.- Returns:
- the wrapper around the given metadata value.
-
getElement
Returns theDefaultRecordgenerated from the metadata value. This method is systematically called at marshalling-time by JAXB.- Returns:
- the metadata to be marshalled.
-
setElement
Sets the value for theDefaultRecord. This method is systematically called at unmarshalling-time by JAXB.- Parameters:
metadata- the unmarshalled metadata.
-