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