java.lang.Object
org.apache.sis.util.Static
org.apache.sis.internal.geoapi.evolution.Interim

public final class Interim extends Static
Temporary methods used until a new major GeoAPI release provides the missing functionalities.
Since:
0.8
Version:
1.1
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Do not allow instantiation of this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.opengis.geometry.Envelope
    getEnvelope(org.opengis.geometry.Geometry geometry)
    Invokes Geometry.getEnvelope() if that method exists.
    static Class<?>
    Returns the return type of the given method, or the interim type if the method is annotated with InterimType.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Interim

      private Interim()
      Do not allow instantiation of this class.
  • Method Details

    • getReturnType

      public static Class<?> getReturnType(Method method)
      Returns the return type of the given method, or the interim type if the method is annotated with InterimType.
      Parameters:
      method - the method from which to get the return type.
      Returns:
      the return type or the interim type.
    • getEnvelope

      public static org.opengis.geometry.Envelope getEnvelope(org.opengis.geometry.Geometry geometry)
      Invokes Geometry.getEnvelope() if that method exists.
      Parameters:
      geometry - the geometry from which to get the envelope.
      Returns:
      the geometry envelope, or null if none.