Object
Validator
ReferencingValidator
OperationValidator
Validates
CoordinateOperation and related objects from the
org.opengis.referencing.operation package.
This class is provided for users wanting to override the validation methods. When the default
behavior is sufficient, the Validators static methods provide a more
convenient way to validate various kinds of objects.
- Since:
- 2.2
-
Field Summary
Fields inherited from class org.opengis.test.Validator
container, DEFAULT_TOLERANCE, enforceForbiddenAttributes, logger, requireMandatoryAttributes -
Constructor Summary
ConstructorsConstructorDescriptionOperationValidator(ValidatorContainer container) Creates a new validator instance. -
Method Summary
Modifier and TypeMethodDescriptionintdispatch(CoordinateOperation object) For each interface implemented by the given object, invokes the correspondingvalidate(…)method defined in this class (if any).voidvalidate(ConcatenatedOperation object) Validates the given concatenated operation.voidvalidate(Conversion object) Validates the given conversion.voidValidates the given formula.voidvalidate(MathTransform object) Validates the given math transform.voidvalidate(OperationMethod object) Validates the given operation method.voidvalidate(PassThroughOperation object) Validates the given "pass through" operation.voidvalidate(PointMotionOperation object) Validates the point motion operation.voidvalidate(Transformation object) Validates the given transformation.Methods inherited from class org.opengis.test.referencing.ReferencingValidator
dispatchObject, validate
-
Constructor Details
-
OperationValidator
Creates a new validator instance.- Parameters:
container- the set of validators to use for validating other kinds of objects (see field javadoc).
-
-
Method Details
-
dispatch
For each interface implemented by the given object, invokes the correspondingvalidate(…)method defined in this class (if any).- Parameters:
object- the object to dispatch tovalidate(…)methods, ornull.- Returns:
- number of
validate(…)methods invoked in this class for the given object.
-
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.
-
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 point motion operation.- Parameters:
object- the object to validate, ornull.- Since:
- 3.1
-
validate
Validates the given operation method.- Parameters:
object- the object to validate, ornull.
-
validate
-
validate
Validates the given math transform.- Parameters:
object- the object to validate, ornull.
-