Package org.opengis.test.referencing
Class CSValidator
java.lang.Object
org.opengis.test.Validator
org.opengis.test.referencing.ReferencingValidator
org.opengis.test.referencing.CSValidator
Validates
CoordinateSystem
and related objects from the org.opengis.referencing.cs
package. This class should not be used directly; use the Validators
convenience static methods instead.- Since:
- 2.2
- Version:
- 3.0
-
Field Summary
Fields inherited from class org.opengis.test.Validator
container, DEFAULT_TOLERANCE, enforceForbiddenAttributes, logger, requireMandatoryAttributes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispatch
(CoordinateSystem object) Dispatches the given object to one ofvalidate
methods.void
validate
(CartesianCS object) Validates the given coordinate system.void
validate
(CoordinateSystemAxis object) Validates the given axis.void
validate
(CylindricalCS object) Validates the given coordinate system.void
validate
(EllipsoidalCS object) Validates the given coordinate system.void
Validates the given coordinate system.void
Validates the given coordinate system.void
validate
(SphericalCS object) Validates the given coordinate system.void
Validates the given coordinate system.void
validate
(UserDefinedCS object) Validates the given coordinate system.void
validate
(VerticalCS object) Validates the given coordinate system.private void
validateAxes
(CoordinateSystem object) Performs the validation that are common to all coordinate systems.Methods inherited from class org.opengis.test.referencing.ReferencingValidator
dispatchObject, validate, validateIdentifiedObject, validateReferenceSystem
-
Constructor Details
-
CSValidator
Creates a new validator.- Parameters:
container
- The container of this validator.
-
-
Method Details
-
dispatch
Dispatches the given object to one ofvalidate
methods.- Parameters:
object
- The object to dispatch.
-
validate
Validates the given axis.- Parameters:
object
- The object to validate, ornull
.
-
validate
Validates the given coordinate system.- Parameters:
object
- The object to validate, ornull
.
-
validate
Validates the given coordinate system.- Parameters:
object
- The object to validate, ornull
.
-
validate
Validates the given coordinate system.- Parameters:
object
- The object to validate, ornull
.
-
validate
Validates the given coordinate system.- Parameters:
object
- The object to validate, ornull
.
-
validate
Validates the given coordinate system.- Parameters:
object
- The object to validate, ornull
.
-
validate
Validates the given coordinate system.- Parameters:
object
- The object to validate, ornull
.
-
validate
Validates the given coordinate system.- Parameters:
object
- The object to validate, ornull
.
-
validate
Validates the given coordinate system.- Parameters:
object
- The object to validate, ornull
.
-
validate
Validates the given coordinate system.- Parameters:
object
- The object to validate, ornull
.
-
validateAxes
Performs the validation that are common to all coordinate systems. This method is invoked byvalidate
methods after they have determined the type of their argument.- Parameters:
object
- The object to validate (can not be null).
-