Class SV_Parameter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType>
org.apache.sis.internal.jaxb.gco.PropertyType<SV_Parameter,org.opengis.parameter.ParameterDescriptor<?>>
org.apache.sis.internal.jaxb.metadata.SV_Parameter
public final class SV_Parameter
extends PropertyType<SV_Parameter,org.opengis.parameter.ParameterDescriptor<?>>
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.private
SV_Parameter
(org.opengis.parameter.ParameterDescriptor<?> value) Constructor for thewrap(org.opengis.parameter.ParameterDescriptor<?>)
method only. -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<org.opengis.parameter.ParameterDescriptor<?>>
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<srv:SV_Parameter>
XML element.void
setElement
(ServiceParameter value) Invoked by JAXB at unmarshalling time for storing the result temporarily.protected SV_Parameter
wrap
(org.opengis.parameter.ParameterDescriptor<?> value) Invoked byPropertyType
at marshalling time for wrapping the given metadata value in a<srv:SV_Parameter>
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
-
SV_Parameter
public SV_Parameter()Empty constructor for JAXB only. -
SV_Parameter
private SV_Parameter(org.opengis.parameter.ParameterDescriptor<?> value) Constructor for thewrap(org.opengis.parameter.ParameterDescriptor<?>)
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<SV_Parameter,
org.opengis.parameter.ParameterDescriptor<?>> - Returns:
ParameterDescriptor.class
-
wrap
Invoked byPropertyType
at marshalling time for wrapping the given metadata value in a<srv:SV_Parameter>
XML element.- Specified by:
wrap
in classPropertyType<SV_Parameter,
org.opengis.parameter.ParameterDescriptor<?>> - 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<srv:SV_Parameter>
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.
-