Class CC_GeneralParameterValue
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<CC_GeneralParameterValue,org.opengis.parameter.GeneralParameterValue>
org.apache.sis.internal.jaxb.gco.PropertyType<CC_GeneralParameterValue,org.opengis.parameter.GeneralParameterValue>
org.apache.sis.internal.jaxb.referencing.CC_GeneralParameterValue
public final class CC_GeneralParameterValue
extends PropertyType<CC_GeneralParameterValue,org.opengis.parameter.GeneralParameterValue>
JAXB adapter mapping implementing class to the GeoAPI interface. See
package documentation for more information about JAXB and interface.
- Since:
- 0.6
- Version:
- 1.3
-
Field Summary
Fields inherited from class org.apache.sis.internal.jaxb.gco.PropertyType
metadata
-
Constructor Summary
ConstructorsModifierConstructorDescriptionEmpty constructor for JAXB only.private
CC_GeneralParameterValue
(org.opengis.parameter.GeneralParameterValue parameter) Constructor for thewrap(org.opengis.parameter.GeneralParameterValue)
method only. -
Method Summary
Modifier and TypeMethodDescriptionprotected Class
<org.opengis.parameter.GeneralParameterValue> Returns the GeoAPI interface which is bound by this adapter.org.opengis.parameter.GeneralParameterValue
Invoked by JAXB at marshalling time for getting the actual element to write inside the<gml:parameterValue>
XML element.void
setElement
(org.opengis.parameter.GeneralParameterValue parameter) Invoked by JAXB at unmarshalling time for storing the result temporarily.protected CC_GeneralParameterValue
wrap
(org.opengis.parameter.GeneralParameterValue parameter) Invoked byPropertyType
at marshalling time for wrapping the given value in a<gml:ParameterValue>
or<gml:ParameterValueGroup>
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
-
CC_GeneralParameterValue
public CC_GeneralParameterValue()Empty constructor for JAXB only. -
CC_GeneralParameterValue
private CC_GeneralParameterValue(org.opengis.parameter.GeneralParameterValue parameter) Constructor for thewrap(org.opengis.parameter.GeneralParameterValue)
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<CC_GeneralParameterValue,
org.opengis.parameter.GeneralParameterValue> - Returns:
GeneralParameterValue.class
-
wrap
Invoked byPropertyType
at marshalling time for wrapping the given value in a<gml:ParameterValue>
or<gml:ParameterValueGroup>
XML element.- Specified by:
wrap
in classPropertyType<CC_GeneralParameterValue,
org.opengis.parameter.GeneralParameterValue> - Parameters:
parameter
- the element to marshal.- Returns:
- a
PropertyType
wrapping the given the element.
-
getElement
public org.opengis.parameter.GeneralParameterValue getElement()Invoked by JAXB at marshalling time for getting the actual element to write inside the<gml:parameterValue>
XML element. This is the value or a copy of the value given in argument to thewrap
method.- Returns:
- the element to be marshalled.
- See Also:
-
setElement
public void setElement(org.opengis.parameter.GeneralParameterValue parameter) Invoked by JAXB at unmarshalling time for storing the result temporarily.- Parameters:
parameter
- the unmarshalled element.
-