Class Interim
java.lang.Object
org.apache.sis.util.Static
org.apache.sis.internal.geoapi.evolution.Interim
Temporary methods used until a new major GeoAPI release provides the missing functionalities.
- Since:
- 0.8
- Version:
- 1.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.opengis.geometry.Envelope
getEnvelope
(org.opengis.geometry.Geometry geometry) InvokesGeometry.getEnvelope()
if that method exists.static Class
<?> getReturnType
(Method method) Returns the return type of the given method, or the interim type if the method is annotated withInterimType
.
-
Constructor Details
-
Interim
private Interim()Do not allow instantiation of this class.
-
-
Method Details
-
getReturnType
Returns the return type of the given method, or the interim type if the method is annotated withInterimType
.- 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) InvokesGeometry.getEnvelope()
if that method exists.- Parameters:
geometry
- the geometry from which to get the envelope.- Returns:
- the geometry envelope, or
null
if none.
-