Package org.opengis.test.referencing
Class OperationValidator
java.lang.Object
org.opengis.test.Validator
org.opengis.test.referencing.ReferencingValidator
org.opengis.test.referencing.OperationValidator
Validates
CoordinateOperation
and related objects from the
org.opengis.referencing.operation
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 TypeMethodDescriptionprivate static int
Returns the dimension of the given CRS.void
dispatch
(CoordinateOperation object) Dispatches the given object to one ofvalidate
methods.void
validate
(ConcatenatedOperation object) Validates the given concatenated operation.void
validate
(Conversion object) Validates the given conversion.void
Validates the given formula.void
validate
(MathTransform object) Validates the given math transform.void
validate
(OperationMethod object) Validates the given operation method.void
validate
(PassThroughOperation object) Validates the given "pass through" operation.void
validate
(Transformation object) Validates the given transformation.private void
Validates the given coordinate operation.private void
validateOperation
(SingleOperation object) Validates the given operation.Methods inherited from class org.opengis.test.referencing.ReferencingValidator
dispatchObject, validate, validateIdentifiedObject, validateReferenceSystem
-
Constructor Details
-
OperationValidator
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 "pass through" operation.- Parameters:
object
- The object to validate, ornull
.
-
validate
Validates the given concatenated operation.- Parameters:
object
- The object to validate, ornull
.
-
validateCoordinateOperation
Validates the given coordinate operation. This method is private because we choose to expose only non-ambiguiousvalidate
methods in public API.- Parameters:
object
- The object to validate, ornull
.
-
validateOperation
Validates the given operation. This method is private because we choose to expose only non-ambiguiousvalidate
methods in public API.- Parameters:
object
- The object to validate, ornull
.
-
validate
Validates the given conversion.- Parameters:
object
- The object to validate, ornull
.
-
validate
Validates the given transformation.- Parameters:
object
- The object to validate, ornull
.
-
validate
Validates the given operation method.- Parameters:
object
- The object to validate, ornull
.
-
validate
Validates the given formula.- Parameters:
object
- The object to validate, ornull
.
-
validate
Validates the given math transform.- Parameters:
object
- The object to validate, ornull
.
-
dimension
Returns the dimension of the given CRS.
-