Class CS_CartesianCS

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType>
org.apache.sis.internal.jaxb.gco.PropertyType<CS_CartesianCS,org.opengis.referencing.cs.CartesianCS>
org.apache.sis.internal.jaxb.referencing.CS_CartesianCS

public final class CS_CartesianCS extends PropertyType<CS_CartesianCS,org.opengis.referencing.cs.CartesianCS>
JAXB adapter mapping implementing class to the GeoAPI interface. See package documentation for more information about JAXB and interface.
Since:
0.4
Version:
0.4
  • Constructor Details

    • CS_CartesianCS

      public CS_CartesianCS()
      Empty constructor for JAXB only.
    • CS_CartesianCS

      private CS_CartesianCS(org.opengis.referencing.cs.CartesianCS cs)
      Constructor for the wrap(org.opengis.referencing.cs.CartesianCS) method only.
  • Method Details

    • getBoundType

      protected Class<org.opengis.referencing.cs.CartesianCS> 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 class PropertyType<CS_CartesianCS,org.opengis.referencing.cs.CartesianCS>
      Returns:
      CartesianCS.class
    • wrap

      protected CS_CartesianCS wrap(org.opengis.referencing.cs.CartesianCS cs)
      Invoked by PropertyType at marshalling time for wrapping the given value in a <gml:CartesianCS> XML element.
      Specified by:
      wrap in class PropertyType<CS_CartesianCS,org.opengis.referencing.cs.CartesianCS>
      Parameters:
      cs - the element to marshal.
      Returns:
      a PropertyType wrapping the given the element.
    • getElement

      public DefaultCartesianCS getElement()
      Invoked by JAXB at marshalling time for getting the actual element to write inside the <gml:CartesianCS> XML element. This is the value or a copy of the value given in argument to the wrap method.
      Returns:
      the element to be marshalled.
    • setElement

      public void setElement(DefaultCartesianCS cs)
      Invoked by JAXB at unmarshalling time for storing the result temporarily.
      Parameters:
      cs - the unmarshalled element.