Class Wrappers
Object
Wrappers
Views of GeoTools objects as GeoAPI objects, and conversely.
All
geoapi(…)
methods take a GeoTools object in argument and returns an implementation
of the corresponding GeoAPI interface which delegates all operations to the given GeoTools object.
That geoapi(…)
method is overloaded with all types supported by wrappers in this package.
In most cases, users can blindly invoke Wrappers.geoapi(…)
and let the compiler determines
the most appropriate method.
All geoapi(…)
methods perform the same work as geoapi(…)
methods,
but in the reverse direction: they view GeoAPI objects as GeoTools objects.
Dynamic determination of type
Some types are the parent of one or more specializations. For example, when thegeoapi(CoordinateSystem)
method is invoked, the given object could actually be a CartesianCS
, or a SphericalCS
, etc.
All methods in this class check for such specializations in order to return the best match.-
Method Summary
Modifier and TypeMethodDescriptionstatic DirectPosition
geoapi
(Position geotools) Views the given GeoTools object as a GeoAPIDirectPosition
.static Address
geoapi
(Address geotools) Views the given GeoTools object as a GeoAPIAddress
.static Citation
geoapi
(Citation geotools) Views the given GeoTools object as a GeoAPICitation
.static Contact
geoapi
(Contact geotools) Views the given GeoTools object as a GeoAPIContact
.geoapi
(OnLineFunction geotools) Returns the given GeoTools code list value as a GeoAPIOnLineFunction
.static OnlineResource
geoapi
(OnLineResource geotools) Views the given GeoTools object as a GeoAPIOnlineResource
.geoapi
(PresentationForm geotools) Returns the given GeoTools code list value as a GeoAPIPresentationForm
.static ResponsibleParty
geoapi
(ResponsibleParty geotools) Views the given GeoTools object as a GeoAPIResponsibleParty
.geoapi
(Role geotools) Returns the given GeoTools code list value as a GeoAPIRole
.static Telephone
geoapi
(Telephone geotools) Views the given GeoTools object as a GeoAPITelephone
.static Extent
geoapi
(Extent geotools) Views the given GeoTools object as a GeoAPIExtent
.static GeographicBoundingBox
geoapi
(GeographicBoundingBox geotools) Views the given GeoTools object as a GeoAPIGeographicBoundingBox
.static GeographicExtent
geoapi
(GeographicExtent geotools) Views the given GeoTools object as a GeoAPIGeographicExtent
.static TemporalExtent
geoapi
(TemporalExtent geotools) Views the given GeoTools object as a GeoAPITemporalExtent
.static VerticalExtent
geoapi
(VerticalExtent geotools) Views the given GeoTools object as a GeoAPIVerticalExtent
.static Identifier
geoapi
(Identifier geotools) Views the given GeoTools object as a GeoAPIIdentifier
.geoapi
(AbsoluteExternalPositionalAccuracy geotools) Views the given GeoTools object as a GeoAPIAbsoluteExternalPositionalAccuracy
.static ConformanceResult
geoapi
(ConformanceResult geotools) Views the given GeoTools object as a GeoAPIConformanceResult
.static Element
geoapi
(Element geotools) Views the given GeoTools object as a GeoAPIElement
.geoapi
(EvaluationMethodType geotools) Returns the given GeoTools code list value as a GeoAPIEvaluationMethodType
.static PositionalAccuracy
geoapi
(PositionalAccuracy geotools) Views the given GeoTools object as a GeoAPIPositionalAccuracy
.static QuantitativeResult
geoapi
(QuantitativeResult geotools) Views the given GeoTools object as a GeoAPIQuantitativeResult
.static Result
geoapi
(Result geotools) Views the given GeoTools object as a GeoAPIResult
.static GeneralParameterDescriptor
geoapi
(GeneralParameterDescriptor geotools) Views the given GeoTools object as a GeoAPIGeneralParameterDescriptor
.static GeneralParameterValue
geoapi
(GeneralParameterValue geotools) Views the given GeoTools object as a GeoAPIGeneralParameterValue
.static CompoundCRS
geoapi
(CompoundCRS geotools) Views the given GeoTools object as a GeoAPICompoundCRS
.static CoordinateReferenceSystem
geoapi
(CoordinateReferenceSystem geotools) Views the given GeoTools object as a GeoAPICoordinateReferenceSystem
.static CRSAuthorityFactory
geoapi
(CRSAuthorityFactory geotools) Views the given GeoTools object as a GeoAPICRSAuthorityFactory
.static CRSFactory
geoapi
(CRSFactory geotools) Views the given GeoTools object as a GeoAPICRSFactory
.static DerivedCRS
geoapi
(DerivedCRS geotools) Views the given GeoTools object as a GeoAPIDerivedCRS
.static EngineeringCRS
geoapi
(EngineeringCRS geotools) Views the given GeoTools object as a GeoAPIEngineeringCRS
.static GeneralDerivedCRS
geoapi
(GeneralDerivedCRS geotools) Views the given GeoTools object as a GeoAPIGeneralDerivedCRS
.static GeocentricCRS
geoapi
(GeocentricCRS geotools) Views the given GeoTools object as a GeoAPIGeocentricCRS
.static GeodeticCRS
geoapi
(GeodeticCRS geotools) Views the given GeoTools object as a GeoAPIGeodeticCRS
.static GeographicCRS
geoapi
(GeographicCRS geotools) Views the given GeoTools object as a GeoAPIGeographicCRS
.static ImageCRS
geoapi
(ImageCRS geotools) Views the given GeoTools object as a GeoAPIImageCRS
.static ProjectedCRS
geoapi
(ProjectedCRS geotools) Views the given GeoTools object as a GeoAPIProjectedCRS
.static SingleCRS
geoapi
(SingleCRS geotools) Views the given GeoTools object as a GeoAPISingleCRS
.static TemporalCRS
geoapi
(TemporalCRS geotools) Views the given GeoTools object as a GeoAPITemporalCRS
.static VerticalCRS
geoapi
(VerticalCRS geotools) Views the given GeoTools object as a GeoAPIVerticalCRS
.static AffineCS
geoapi
(AffineCS geotools) Views the given GeoTools object as a GeoAPIAffineCS
.geoapi
(AxisDirection geotools) Returns the given GeoTools code list value as a GeoAPIAxisDirection
.static CartesianCS
geoapi
(CartesianCS geotools) Views the given GeoTools object as a GeoAPICartesianCS
.static CoordinateSystem
geoapi
(CoordinateSystem geotools) Views the given GeoTools object as a GeoAPICoordinateSystem
.static CoordinateSystemAxis
geoapi
(CoordinateSystemAxis geotools) Views the given GeoTools object as a GeoAPICoordinateSystemAxis
.static CSAuthorityFactory
geoapi
(CSAuthorityFactory geotools) Views the given GeoTools object as a GeoAPICSAuthorityFactory
.static CSFactory
geoapi
(CSFactory geotools) Views the given GeoTools object as a GeoAPICSFactory
.static CylindricalCS
geoapi
(CylindricalCS geotools) Views the given GeoTools object as a GeoAPICylindricalCS
.static EllipsoidalCS
geoapi
(EllipsoidalCS geotools) Views the given GeoTools object as a GeoAPIEllipsoidalCS
.static LinearCS
geoapi
(LinearCS geotools) Views the given GeoTools object as a GeoAPILinearCS
.static PolarCS
geoapi
(PolarCS geotools) Views the given GeoTools object as a GeoAPIPolarCS
.geoapi
(RangeMeaning geotools) Returns the given GeoTools code list value as a GeoAPIRangeMeaning
.static SphericalCS
geoapi
(SphericalCS geotools) Views the given GeoTools object as a GeoAPISphericalCS
.static TimeCS
geoapi
(TimeCS geotools) Views the given GeoTools object as a GeoAPITimeCS
.static UserDefinedCS
geoapi
(UserDefinedCS geotools) Views the given GeoTools object as a GeoAPIUserDefinedCS
.static VerticalCS
geoapi
(VerticalCS geotools) Views the given GeoTools object as a GeoAPIVerticalCS
.static Datum
geoapi
(Datum geotools) Views the given GeoTools object as a GeoAPIDatum
.static DatumAuthorityFactory
geoapi
(DatumAuthorityFactory geotools) Views the given GeoTools object as a GeoAPIDatumAuthorityFactory
.static DatumFactory
geoapi
(DatumFactory geotools) Views the given GeoTools object as a GeoAPIDatumFactory
.static Ellipsoid
geoapi
(Ellipsoid geotools) Views the given GeoTools object as a GeoAPIEllipsoid
.static EngineeringDatum
geoapi
(EngineeringDatum geotools) Views the given GeoTools object as a GeoAPIEngineeringDatum
.static GeodeticDatum
geoapi
(GeodeticDatum geotools) Views the given GeoTools object as a GeoAPIGeodeticDatum
.static ImageDatum
geoapi
(ImageDatum geotools) Views the given GeoTools object as a GeoAPIImageDatum
.geoapi
(PixelInCell geotools) Returns the given GeoTools code list value as a GeoAPIPixelInCell
.static PrimeMeridian
geoapi
(PrimeMeridian geotools) Views the given GeoTools object as a GeoAPIPrimeMeridian
.static TemporalDatum
geoapi
(TemporalDatum geotools) Views the given GeoTools object as a GeoAPITemporalDatum
.static VerticalDatum
geoapi
(VerticalDatum geotools) Views the given GeoTools object as a GeoAPIVerticalDatum
.geoapi
(VerticalDatumType geotools) Returns the given GeoTools code list value as a GeoAPIVerticalDatumType
.static IdentifiedObject
geoapi
(IdentifiedObject geotools) Views the given GeoTools object as a GeoAPIIdentifiedObject
.static ConcatenatedOperation
geoapi
(ConcatenatedOperation geotools) Views the given GeoTools object as a GeoAPIConcatenatedOperation
.static Conversion
geoapi
(Conversion geotools) Views the given GeoTools object as a GeoAPIConversion
.static CoordinateOperation
geoapi
(CoordinateOperation geotools) Views the given GeoTools object as a GeoAPICoordinateOperation
.geoapi
(CoordinateOperationAuthorityFactory geotools) Views the given GeoTools object as a GeoAPICoordinateOperationAuthorityFactory
.static CoordinateOperationFactory
geoapi
(CoordinateOperationFactory geotools) Views the given GeoTools object as a GeoAPICoordinateOperationFactory
.static MathTransform
geoapi
(MathTransform geotools) Views the given GeoTools object as a GeoAPIMathTransform
.static MathTransform1D
geoapi
(MathTransform1D geotools) Views the given GeoTools object as a GeoAPIMathTransform1D
.static MathTransform2D
geoapi
(MathTransform2D geotools) Views the given GeoTools object as a GeoAPIMathTransform2D
.static Matrix
geoapi
(Matrix geotools) Views the given GeoTools object as a GeoAPIMatrix
.static OperationMethod
geoapi
(OperationMethod geotools) Views the given GeoTools object as a GeoAPIOperationMethod
.static Projection
geoapi
(Projection geotools) Views the given GeoTools object as a GeoAPIProjection
.static SingleOperation
geoapi
(SingleOperation geotools) Views the given GeoTools object as a GeoAPISingleOperation
.static Transformation
geoapi
(Transformation geotools) Views the given GeoTools object as a GeoAPITransformation
.static ReferenceIdentifier
geoapi
(ReferenceIdentifier geotools) Views the given GeoTools object as a GeoAPIReferenceIdentifier
.static ReferenceSystem
geoapi
(ReferenceSystem geotools) Views the given GeoTools object as a GeoAPIReferenceSystem
.static PeriodDuration
geoapi
(PeriodDuration geotools) Views the given GeoTools object as a GeoAPIPeriodDuration
.static TemporalPrimitive
geoapi
(TemporalPrimitive geotools) Views the given GeoTools object as a GeoAPITemporalPrimitive
.static GenericName
geoapi
(GenericName geotools) Views the given GeoTools object as a GeoAPIGenericName
.static InternationalString
geoapi
(InternationalString geotools) Views the given GeoTools object as a GeoAPIInternationalString
.static LocalName
geoapi
(LocalName geotools) Views the given GeoTools object as a GeoAPILocalName
.static MemberName
geoapi
(MemberName geotools) Views the given GeoTools object as a GeoAPIMemberName
.static NameSpace
geoapi
(NameSpace geotools) Views the given GeoTools object as a GeoAPINameSpace
.static Record
geoapi
(Record geotools) Views the given GeoTools object as a GeoAPIRecord
.static RecordSchema
geoapi
(RecordSchema geotools) Views the given GeoTools object as a GeoAPIRecordSchema
.static RecordType
geoapi
(RecordType geotools) Views the given GeoTools object as a GeoAPIRecordType
.static ScopedName
geoapi
(ScopedName geotools) Views the given GeoTools object as a GeoAPIScopedName
.static TypeName
geoapi
(TypeName geotools) Views the given GeoTools object as a GeoAPITypeName
.static Position
geotools
(DirectPosition geoapi) Views the given GeoAPI object as a GeoToolsDirectPosition
.static Address
Views the given GeoAPI object as a GeoToolsAddress
.static Citation
Views the given GeoAPI object as a GeoToolsCitation
.static Contact
Views the given GeoAPI object as a GeoToolsContact
.OnLineFunction
geotools
(OnLineFunction geoapi) Returns the given GeoAPI code list value as a GeoToolsOnLineFunction
.static OnLineResource
geotools
(OnlineResource geoapi) Views the given GeoAPI object as a GeoToolsOnlineResource
.PresentationForm
geotools
(PresentationForm geoapi) Returns the given GeoAPI code list value as a GeoToolsPresentationForm
.static ResponsibleParty
geotools
(ResponsibleParty geoapi) Views the given GeoAPI object as a GeoToolsResponsibleParty
.Role
Returns the given GeoAPI code list value as a GeoToolsRole
.static Telephone
Views the given GeoAPI object as a GeoToolsTelephone
.static Extent
Views the given GeoAPI object as a GeoToolsExtent
.static GeographicBoundingBox
geotools
(GeographicBoundingBox geoapi) Views the given GeoAPI object as a GeoToolsGeographicBoundingBox
.static GeographicExtent
geotools
(GeographicExtent geoapi) Views the given GeoAPI object as a GeoToolsGeographicExtent
.static TemporalExtent
geotools
(TemporalExtent geoapi) Views the given GeoAPI object as a GeoToolsTemporalExtent
.static VerticalExtent
geotools
(VerticalExtent geoapi) Views the given GeoAPI object as a GeoToolsVerticalExtent
.static Identifier
geotools
(Identifier geoapi) Views the given GeoAPI object as a GeoToolsIdentifier
.static AbsoluteExternalPositionalAccuracy
Views the given GeoAPI object as a GeoToolsAbsoluteExternalPositionalAccuracy
.static ConformanceResult
geotools
(ConformanceResult geoapi) Views the given GeoAPI object as a GeoToolsConformanceResult
.static Element
Views the given GeoAPI object as a GeoToolsElement
.EvaluationMethodType
geotools
(EvaluationMethodType geoapi) Returns the given GeoAPI code list value as a GeoToolsEvaluationMethodType
.static PositionalAccuracy
geotools
(PositionalAccuracy geoapi) Views the given GeoAPI object as a GeoToolsPositionalAccuracy
.static QuantitativeResult
geotools
(QuantitativeResult geoapi) Views the given GeoAPI object as a GeoToolsQuantitativeResult
.static Result
Views the given GeoAPI object as a GeoToolsResult
.static GeneralParameterDescriptor
geotools
(GeneralParameterDescriptor geoapi) Views the given GeoAPI object as a GeoToolsGeneralParameterDescriptor
.static GeneralParameterValue
geotools
(GeneralParameterValue geoapi) Views the given GeoAPI object as a GeoToolsGeneralParameterValue
.static CompoundCRS
geotools
(CompoundCRS geoapi) Views the given GeoAPI object as a GeoToolsCompoundCRS
.static CoordinateReferenceSystem
geotools
(CoordinateReferenceSystem geoapi) Views the given GeoAPI object as a GeoToolsCoordinateReferenceSystem
.static CRSAuthorityFactory
geotools
(CRSAuthorityFactory geoapi) Views the given GeoAPI object as a GeoToolsCRSAuthorityFactory
.static CRSFactory
geotools
(CRSFactory geoapi) Views the given GeoAPI object as a GeoToolsCRSFactory
.static DerivedCRS
geotools
(DerivedCRS geoapi) Views the given GeoAPI object as a GeoToolsDerivedCRS
.static EngineeringCRS
geotools
(EngineeringCRS geoapi) Views the given GeoAPI object as a GeoToolsEngineeringCRS
.static GeneralDerivedCRS
geotools
(GeneralDerivedCRS geoapi) Views the given GeoAPI object as a GeoToolsGeneralDerivedCRS
.static GeocentricCRS
geotools
(GeocentricCRS geoapi) Views the given GeoAPI object as a GeoToolsGeocentricCRS
.static GeodeticCRS
geotools
(GeodeticCRS geoapi) Views the given GeoAPI object as a GeoToolsGeodeticCRS
.static GeographicCRS
geotools
(GeographicCRS geoapi) Views the given GeoAPI object as a GeoToolsGeographicCRS
.static ImageCRS
Views the given GeoAPI object as a GeoToolsImageCRS
.static ProjectedCRS
geotools
(ProjectedCRS geoapi) Views the given GeoAPI object as a GeoToolsProjectedCRS
.static SingleCRS
Views the given GeoAPI object as a GeoToolsSingleCRS
.static TemporalCRS
geotools
(TemporalCRS geoapi) Views the given GeoAPI object as a GeoToolsTemporalCRS
.static VerticalCRS
geotools
(VerticalCRS geoapi) Views the given GeoAPI object as a GeoToolsVerticalCRS
.static AffineCS
Views the given GeoAPI object as a GeoToolsAffineCS
.AxisDirection
geotools
(AxisDirection geoapi) Returns the given GeoAPI code list value as a GeoToolsAxisDirection
.static CartesianCS
geotools
(CartesianCS geoapi) Views the given GeoAPI object as a GeoToolsCartesianCS
.static CoordinateSystem
geotools
(CoordinateSystem geoapi) Views the given GeoAPI object as a GeoToolsCoordinateSystem
.static CoordinateSystemAxis
geotools
(CoordinateSystemAxis geoapi) Views the given GeoAPI object as a GeoToolsCoordinateSystemAxis
.static CSAuthorityFactory
geotools
(CSAuthorityFactory geoapi) Views the given GeoAPI object as a GeoToolsCSAuthorityFactory
.static CSFactory
Views the given GeoAPI object as a GeoToolsCSFactory
.static CylindricalCS
geotools
(CylindricalCS geoapi) Views the given GeoAPI object as a GeoToolsCylindricalCS
.static EllipsoidalCS
geotools
(EllipsoidalCS geoapi) Views the given GeoAPI object as a GeoToolsEllipsoidalCS
.static LinearCS
Views the given GeoAPI object as a GeoToolsLinearCS
.static PolarCS
Views the given GeoAPI object as a GeoToolsPolarCS
.RangeMeaning
geotools
(RangeMeaning geoapi) Returns the given GeoAPI code list value as a GeoToolsRangeMeaning
.static SphericalCS
geotools
(SphericalCS geoapi) Views the given GeoAPI object as a GeoToolsSphericalCS
.static TimeCS
Views the given GeoAPI object as a GeoToolsTimeCS
.static UserDefinedCS
geotools
(UserDefinedCS geoapi) Views the given GeoAPI object as a GeoToolsUserDefinedCS
.static VerticalCS
geotools
(VerticalCS geoapi) Views the given GeoAPI object as a GeoToolsVerticalCS
.static Datum
Views the given GeoAPI object as a GeoToolsDatum
.static DatumAuthorityFactory
geotools
(DatumAuthorityFactory geoapi) Views the given GeoAPI object as a GeoToolsDatumAuthorityFactory
.static DatumFactory
geotools
(DatumFactory geoapi) Views the given GeoAPI object as a GeoToolsDatumFactory
.static Ellipsoid
Views the given GeoAPI object as a GeoToolsEllipsoid
.static EngineeringDatum
geotools
(EngineeringDatum geoapi) Views the given GeoAPI object as a GeoToolsEngineeringDatum
.static GeodeticDatum
geotools
(GeodeticDatum geoapi) Views the given GeoAPI object as a GeoToolsGeodeticDatum
.static ImageDatum
geotools
(ImageDatum geoapi) Views the given GeoAPI object as a GeoToolsImageDatum
.PixelInCell
geotools
(PixelInCell geoapi) Returns the given GeoAPI code list value as a GeoToolsPixelInCell
.static PrimeMeridian
geotools
(PrimeMeridian geoapi) Views the given GeoAPI object as a GeoToolsPrimeMeridian
.static TemporalDatum
geotools
(TemporalDatum geoapi) Views the given GeoAPI object as a GeoToolsTemporalDatum
.static VerticalDatum
geotools
(VerticalDatum geoapi) Views the given GeoAPI object as a GeoToolsVerticalDatum
.VerticalDatumType
geotools
(VerticalDatumType geoapi) Returns the given GeoAPI code list value as a GeoToolsVerticalDatumType
.static IdentifiedObject
geotools
(IdentifiedObject geoapi) Views the given GeoAPI object as a GeoToolsIdentifiedObject
.static ConcatenatedOperation
geotools
(ConcatenatedOperation geoapi) Views the given GeoAPI object as a GeoToolsConcatenatedOperation
.static Conversion
geotools
(Conversion geoapi) Views the given GeoAPI object as a GeoToolsConversion
.static CoordinateOperation
geotools
(CoordinateOperation geoapi) Views the given GeoAPI object as a GeoToolsCoordinateOperation
.static CoordinateOperationAuthorityFactory
Views the given GeoAPI object as a GeoToolsCoordinateOperationAuthorityFactory
.static CoordinateOperationFactory
geotools
(CoordinateOperationFactory geoapi) Views the given GeoAPI object as a GeoToolsCoordinateOperationFactory
.static MathTransform
geotools
(MathTransform geoapi) Views the given GeoAPI object as a GeoToolsMathTransform
.static MathTransform1D
geotools
(MathTransform1D geoapi) Views the given GeoAPI object as a GeoToolsMathTransform1D
.static MathTransform2D
geotools
(MathTransform2D geoapi) Views the given GeoAPI object as a GeoToolsMathTransform2D
.static Matrix
Views the given GeoAPI object as a GeoToolsMatrix
.static OperationMethod
geotools
(OperationMethod geoapi) Views the given GeoAPI object as a GeoToolsOperationMethod
.static Projection
geotools
(Projection geoapi) Views the given GeoAPI object as a GeoToolsProjection
.static SingleOperation
geotools
(SingleOperation geoapi) Views the given GeoAPI object as a GeoToolsSingleOperation
.static Transformation
geotools
(Transformation geoapi) Views the given GeoAPI object as a GeoToolsTransformation
.static ReferenceIdentifier
geotools
(ReferenceIdentifier geoapi) Views the given GeoAPI object as a GeoToolsReferenceIdentifier
.static ReferenceSystem
geotools
(ReferenceSystem geoapi) Views the given GeoAPI object as a GeoToolsReferenceSystem
.static PeriodDuration
geotools
(PeriodDuration geoapi) Views the given GeoAPI object as a GeoToolsPeriodDuration
.static TemporalPrimitive
geotools
(TemporalPrimitive geoapi) Views the given GeoAPI object as a GeoToolsTemporalPrimitive
.static GenericName
geotools
(GenericName geoapi) Views the given GeoAPI object as a GeoToolsGenericName
.static InternationalString
geotools
(InternationalString geoapi) Views the given GeoAPI object as a GeoToolsInternationalString
.static LocalName
Views the given GeoAPI object as a GeoToolsLocalName
.static MemberName
geotools
(MemberName geoapi) Views the given GeoAPI object as a GeoToolsMemberName
.static NameSpace
Views the given GeoAPI object as a GeoToolsNameSpace
.static Record
Views the given GeoAPI object as a GeoToolsRecord
.static RecordSchema
geotools
(RecordSchema geoapi) Views the given GeoAPI object as a GeoToolsRecordSchema
.static RecordType
geotools
(RecordType geoapi) Views the given GeoAPI object as a GeoToolsRecordType
.static ScopedName
geotools
(ScopedName geoapi) Views the given GeoAPI object as a GeoToolsScopedName
.static TypeName
Views the given GeoAPI object as a GeoToolsTypeName
.
-
Method Details
-
geoapi
public static AbsoluteExternalPositionalAccuracy geoapi(AbsoluteExternalPositionalAccuracy geotools) Views the given GeoTools object as a GeoAPIAbsoluteExternalPositionalAccuracy
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
AbsoluteExternalPositionalAccuracy
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aAbsoluteExternalPositionalAccuracy
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
public static AbsoluteExternalPositionalAccuracy geotools(AbsoluteExternalPositionalAccuracy geoapi) Views the given GeoAPI object as a GeoToolsAbsoluteExternalPositionalAccuracy
. This method performs the same choice asgeoapi(AbsoluteExternalPositionalAccuracy)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIAddress
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
Address
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aAddress
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsAddress
. This method performs the same choice asgeoapi(Address)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIAffineCS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
AffineCS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aAffineCS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsAffineCS
. This method performs the same choice asgeoapi(AffineCS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Returns the given GeoTools code list value as a GeoAPIAxisDirection
.- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
-
geotools
Returns the given GeoAPI code list value as a GeoToolsAxisDirection
.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPICRSAuthorityFactory
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
CRSAuthorityFactory
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aCRSAuthorityFactory
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsCRSAuthorityFactory
. This method performs the same choice asgeoapi(CRSAuthorityFactory)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPICRSFactory
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
CRSFactory
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aCRSFactory
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsCRSFactory
. This method performs the same choice asgeoapi(CRSFactory)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPICSAuthorityFactory
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
CSAuthorityFactory
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aCSAuthorityFactory
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsCSAuthorityFactory
. This method performs the same choice asgeoapi(CSAuthorityFactory)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPICSFactory
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
CSFactory
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aCSFactory
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsCSFactory
. This method performs the same choice asgeoapi(CSFactory)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPICartesianCS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
CartesianCS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aCartesianCS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsCartesianCS
. This method performs the same choice asgeoapi(CartesianCS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPICitation
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
Citation
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aCitation
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsCitation
. This method performs the same choice asgeoapi(Citation)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPICompoundCRS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
CompoundCRS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aCompoundCRS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsCompoundCRS
. This method performs the same choice asgeoapi(CompoundCRS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIConcatenatedOperation
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
ConcatenatedOperation
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aConcatenatedOperation
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsConcatenatedOperation
. This method performs the same choice asgeoapi(ConcatenatedOperation)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIConformanceResult
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
ConformanceResult
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aConformanceResult
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsConformanceResult
. This method performs the same choice asgeoapi(ConformanceResult)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIContact
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
Contact
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aContact
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsContact
. This method performs the same choice asgeoapi(Contact)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIConversion
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
Conversion
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aConversion
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsConversion
. This method performs the same choice asgeoapi(Conversion)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPICoordinateOperation
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
CoordinateOperation
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aCoordinateOperation
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsCoordinateOperation
. This method performs the same choice asgeoapi(CoordinateOperation)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
public static CoordinateOperationAuthorityFactory geoapi(CoordinateOperationAuthorityFactory geotools) Views the given GeoTools object as a GeoAPICoordinateOperationAuthorityFactory
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
CoordinateOperationAuthorityFactory
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aCoordinateOperationAuthorityFactory
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
public static CoordinateOperationAuthorityFactory geotools(CoordinateOperationAuthorityFactory geoapi) Views the given GeoAPI object as a GeoToolsCoordinateOperationAuthorityFactory
. This method performs the same choice asgeoapi(CoordinateOperationAuthorityFactory)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPICoordinateOperationFactory
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
CoordinateOperationFactory
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aCoordinateOperationFactory
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsCoordinateOperationFactory
. This method performs the same choice asgeoapi(CoordinateOperationFactory)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPICoordinateReferenceSystem
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
CoordinateReferenceSystem
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aCoordinateReferenceSystem
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsCoordinateReferenceSystem
. This method performs the same choice asgeoapi(CoordinateReferenceSystem)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPICoordinateSystem
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
CoordinateSystem
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aCoordinateSystem
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsCoordinateSystem
. This method performs the same choice asgeoapi(CoordinateSystem)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPICoordinateSystemAxis
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
CoordinateSystemAxis
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aCoordinateSystemAxis
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsCoordinateSystemAxis
. This method performs the same choice asgeoapi(CoordinateSystemAxis)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPICylindricalCS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
CylindricalCS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aCylindricalCS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsCylindricalCS
. This method performs the same choice asgeoapi(CylindricalCS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIDatum
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
Datum
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aDatum
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsDatum
. This method performs the same choice asgeoapi(Datum)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIDatumAuthorityFactory
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
DatumAuthorityFactory
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aDatumAuthorityFactory
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsDatumAuthorityFactory
. This method performs the same choice asgeoapi(DatumAuthorityFactory)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIDatumFactory
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
DatumFactory
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aDatumFactory
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsDatumFactory
. This method performs the same choice asgeoapi(DatumFactory)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIDerivedCRS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
DerivedCRS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aDerivedCRS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsDerivedCRS
. This method performs the same choice asgeoapi(DerivedCRS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIDirectPosition
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
DirectPosition
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aDirectPosition
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsDirectPosition
. This method performs the same choice asgeoapi(DirectPosition)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIElement
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
Element
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aElement
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsElement
. This method performs the same choice asgeoapi(Element)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIEllipsoid
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
Ellipsoid
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aEllipsoid
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsEllipsoid
. This method performs the same choice asgeoapi(Ellipsoid)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIEllipsoidalCS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
EllipsoidalCS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aEllipsoidalCS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsEllipsoidalCS
. This method performs the same choice asgeoapi(EllipsoidalCS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIEngineeringCRS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
EngineeringCRS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aEngineeringCRS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsEngineeringCRS
. This method performs the same choice asgeoapi(EngineeringCRS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIEngineeringDatum
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
EngineeringDatum
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aEngineeringDatum
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsEngineeringDatum
. This method performs the same choice asgeoapi(EngineeringDatum)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Returns the given GeoTools code list value as a GeoAPIEvaluationMethodType
.- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
-
geotools
Returns the given GeoAPI code list value as a GeoToolsEvaluationMethodType
.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIExtent
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
Extent
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aExtent
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsExtent
. This method performs the same choice asgeoapi(Extent)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIGeneralDerivedCRS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
GeneralDerivedCRS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aGeneralDerivedCRS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsGeneralDerivedCRS
. This method performs the same choice asgeoapi(GeneralDerivedCRS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIGeneralParameterDescriptor
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
GeneralParameterDescriptor
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aGeneralParameterDescriptor
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsGeneralParameterDescriptor
. This method performs the same choice asgeoapi(GeneralParameterDescriptor)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIGeneralParameterValue
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
GeneralParameterValue
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aGeneralParameterValue
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsGeneralParameterValue
. This method performs the same choice asgeoapi(GeneralParameterValue)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIGenericName
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
GenericName
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aGenericName
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsGenericName
. This method performs the same choice asgeoapi(GenericName)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIGeocentricCRS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
GeocentricCRS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aGeocentricCRS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsGeocentricCRS
. This method performs the same choice asgeoapi(GeocentricCRS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIGeodeticCRS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
GeodeticCRS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aGeodeticCRS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsGeodeticCRS
. This method performs the same choice asgeoapi(GeodeticCRS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIGeodeticDatum
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
GeodeticDatum
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aGeodeticDatum
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsGeodeticDatum
. This method performs the same choice asgeoapi(GeodeticDatum)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIGeographicBoundingBox
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
GeographicBoundingBox
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aGeographicBoundingBox
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsGeographicBoundingBox
. This method performs the same choice asgeoapi(GeographicBoundingBox)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIGeographicCRS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
GeographicCRS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aGeographicCRS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsGeographicCRS
. This method performs the same choice asgeoapi(GeographicCRS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIGeographicExtent
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
GeographicExtent
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aGeographicExtent
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsGeographicExtent
. This method performs the same choice asgeoapi(GeographicExtent)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIIdentifiedObject
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
IdentifiedObject
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aIdentifiedObject
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsIdentifiedObject
. This method performs the same choice asgeoapi(IdentifiedObject)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIIdentifier
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
Identifier
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aIdentifier
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsIdentifier
. This method performs the same choice asgeoapi(Identifier)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIImageCRS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
ImageCRS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aImageCRS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsImageCRS
. This method performs the same choice asgeoapi(ImageCRS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIImageDatum
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
ImageDatum
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aImageDatum
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsImageDatum
. This method performs the same choice asgeoapi(ImageDatum)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIInternationalString
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
InternationalString
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aInternationalString
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsInternationalString
. This method performs the same choice asgeoapi(InternationalString)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPILinearCS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
LinearCS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aLinearCS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsLinearCS
. This method performs the same choice asgeoapi(LinearCS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPILocalName
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
LocalName
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aLocalName
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsLocalName
. This method performs the same choice asgeoapi(LocalName)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIMathTransform
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
MathTransform
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aMathTransform
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsMathTransform
. This method performs the same choice asgeoapi(MathTransform)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIMathTransform1D
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
MathTransform1D
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aMathTransform1D
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsMathTransform1D
. This method performs the same choice asgeoapi(MathTransform1D)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIMathTransform2D
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
MathTransform2D
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aMathTransform2D
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsMathTransform2D
. This method performs the same choice asgeoapi(MathTransform2D)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIMatrix
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
Matrix
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aMatrix
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsMatrix
. This method performs the same choice asgeoapi(Matrix)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIMemberName
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
MemberName
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aMemberName
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsMemberName
. This method performs the same choice asgeoapi(MemberName)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPINameSpace
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
NameSpace
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aNameSpace
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsNameSpace
. This method performs the same choice asgeoapi(NameSpace)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Returns the given GeoTools code list value as a GeoAPIOnLineFunction
.- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
-
geotools
Returns the given GeoAPI code list value as a GeoToolsOnLineFunction
.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIOnlineResource
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
OnlineResource
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aOnlineResource
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsOnlineResource
. This method performs the same choice asgeoapi(OnlineResource)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIOperationMethod
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
OperationMethod
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aOperationMethod
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsOperationMethod
. This method performs the same choice asgeoapi(OperationMethod)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIPeriodDuration
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
PeriodDuration
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aPeriodDuration
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsPeriodDuration
. This method performs the same choice asgeoapi(PeriodDuration)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Returns the given GeoTools code list value as a GeoAPIPixelInCell
.- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
-
geotools
Returns the given GeoAPI code list value as a GeoToolsPixelInCell
.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIPolarCS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
PolarCS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aPolarCS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsPolarCS
. This method performs the same choice asgeoapi(PolarCS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIPositionalAccuracy
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
PositionalAccuracy
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aPositionalAccuracy
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsPositionalAccuracy
. This method performs the same choice asgeoapi(PositionalAccuracy)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Returns the given GeoTools code list value as a GeoAPIPresentationForm
.- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
-
geotools
Returns the given GeoAPI code list value as a GeoToolsPresentationForm
.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIPrimeMeridian
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
PrimeMeridian
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aPrimeMeridian
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsPrimeMeridian
. This method performs the same choice asgeoapi(PrimeMeridian)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIProjectedCRS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
ProjectedCRS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aProjectedCRS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsProjectedCRS
. This method performs the same choice asgeoapi(ProjectedCRS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIProjection
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
Projection
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aProjection
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsProjection
. This method performs the same choice asgeoapi(Projection)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIQuantitativeResult
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
QuantitativeResult
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aQuantitativeResult
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsQuantitativeResult
. This method performs the same choice asgeoapi(QuantitativeResult)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Returns the given GeoTools code list value as a GeoAPIRangeMeaning
.- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
-
geotools
Returns the given GeoAPI code list value as a GeoToolsRangeMeaning
.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIRecord
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
Record
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aRecord
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsRecord
. This method performs the same choice asgeoapi(Record)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIRecordSchema
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
RecordSchema
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aRecordSchema
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsRecordSchema
. This method performs the same choice asgeoapi(RecordSchema)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIRecordType
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
RecordType
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aRecordType
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsRecordType
. This method performs the same choice asgeoapi(RecordType)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIReferenceIdentifier
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
ReferenceIdentifier
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aReferenceIdentifier
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsReferenceIdentifier
. This method performs the same choice asgeoapi(ReferenceIdentifier)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIReferenceSystem
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
ReferenceSystem
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aReferenceSystem
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsReferenceSystem
. This method performs the same choice asgeoapi(ReferenceSystem)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIResponsibleParty
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
ResponsibleParty
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aResponsibleParty
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsResponsibleParty
. This method performs the same choice asgeoapi(ResponsibleParty)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIResult
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
Result
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aResult
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsResult
. This method performs the same choice asgeoapi(Result)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Returns the given GeoTools code list value as a GeoAPIRole
.- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
-
geotools
Returns the given GeoAPI code list value as a GeoToolsRole
.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIScopedName
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
ScopedName
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aScopedName
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsScopedName
. This method performs the same choice asgeoapi(ScopedName)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPISingleCRS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
SingleCRS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aSingleCRS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsSingleCRS
. This method performs the same choice asgeoapi(SingleCRS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPISingleOperation
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
SingleOperation
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - If the given object implements a more specific GeoTools interface, behaves as if
impl
was cast to the most specific supported type before to invokewrap(…)
. - Otherwise, wraps
impl
in aSingleOperation
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsSingleOperation
. This method performs the same choice asgeoapi(SingleOperation)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPISphericalCS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
SphericalCS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aSphericalCS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsSphericalCS
. This method performs the same choice asgeoapi(SphericalCS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPITelephone
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
Telephone
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aTelephone
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsTelephone
. This method performs the same choice asgeoapi(Telephone)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPITemporalCRS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
TemporalCRS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aTemporalCRS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsTemporalCRS
. This method performs the same choice asgeoapi(TemporalCRS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPITemporalDatum
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
TemporalDatum
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aTemporalDatum
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsTemporalDatum
. This method performs the same choice asgeoapi(TemporalDatum)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPITemporalExtent
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
TemporalExtent
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aTemporalExtent
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsTemporalExtent
. This method performs the same choice asgeoapi(TemporalExtent)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPITemporalPrimitive
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
TemporalPrimitive
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aTemporalPrimitive
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsTemporalPrimitive
. This method performs the same choice asgeoapi(TemporalPrimitive)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPITimeCS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
TimeCS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aTimeCS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsTimeCS
. This method performs the same choice asgeoapi(TimeCS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPITransformation
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
Transformation
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aTransformation
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsTransformation
. This method performs the same choice asgeoapi(Transformation)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPITypeName
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
TypeName
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aTypeName
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsTypeName
. This method performs the same choice asgeoapi(TypeName)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIUserDefinedCS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
UserDefinedCS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aUserDefinedCS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsUserDefinedCS
. This method performs the same choice asgeoapi(UserDefinedCS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIVerticalCRS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
VerticalCRS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aVerticalCRS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsVerticalCRS
. This method performs the same choice asgeoapi(VerticalCRS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIVerticalCS
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
VerticalCS
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aVerticalCS
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsVerticalCS
. This method performs the same choice asgeoapi(VerticalCS)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIVerticalDatum
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
VerticalDatum
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aVerticalDatum
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsVerticalDatum
. This method performs the same choice asgeoapi(VerticalDatum)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Returns the given GeoTools code list value as a GeoAPIVerticalDatumType
.- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
-
geotools
Returns the given GeoAPI code list value as a GeoToolsVerticalDatumType
.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-
geoapi
Views the given GeoTools object as a GeoAPIVerticalExtent
. This method returns the first of the following choices which is applicable:- If the given object is null, returns
null
. - If the given object already implements the GeoAPI
VerticalExtent
interface, returns thatimpl
instance directly. - If the given object was created by a
geotools(…)
method, unwraps and returns the backing implementation. - Otherwise, wraps
impl
in aVerticalExtent
which will forward all methods toimpl
.
- Parameters:
geotools
- the GeoTools object to view as a GeoAPI object, ornull
.- Returns:
- the given implementation viewed as a GeoAPI object, or
null
if the given object was null.
- If the given object is null, returns
-
geotools
Views the given GeoAPI object as a GeoToolsVerticalExtent
. This method performs the same choice asgeoapi(VerticalExtent)
, but in the reverse direction.- Parameters:
geoapi
- the GeoAPI object to view as a GeoTools object, ornull
.- Returns:
- the given implementation viewed as a GeoTools object, or
null
if the given object was null.
-