Class OperationValidator


public class OperationValidator extends ReferencingValidator
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
  • Constructor Details

    • OperationValidator

      public OperationValidator(ValidatorContainer container)
      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

      public int dispatch(CoordinateOperation object)
      For each interface implemented by the given object, invokes the corresponding validate(…) method defined in this class (if any).
      Parameters:
      object - the object to dispatch to validate(…) methods, or null.
      Returns:
      number of validate(…) methods invoked in this class for the given object.
    • validate

      public void validate(PassThroughOperation object)
      Validates the given "pass through" operation.
      Parameters:
      object - the object to validate, or null.
    • validate

      public void validate(ConcatenatedOperation object)
      Validates the given concatenated operation.
      Parameters:
      object - the object to validate, or null.
    • validate

      public void validate(Conversion object)
      Validates the given conversion.
      Parameters:
      object - the object to validate, or null.
    • validate

      public void validate(Transformation object)
      Validates the given transformation.
      Parameters:
      object - the object to validate, or null.
    • validate

      public void validate(OperationMethod object)
      Validates the given operation method.
      Parameters:
      object - the object to validate, or null.
    • validate

      public void validate(Formula object)
      Validates the given formula.
      Parameters:
      object - the object to validate, or null.
    • validate

      public void validate(MathTransform object)
      Validates the given math transform.
      Parameters:
      object - the object to validate, or null.