Class OperationValidator


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

    • OperationValidator

      public OperationValidator(ValidatorContainer container)
      Creates a new validator.
      Parameters:
      container - The container of this validator.
  • Method Details

    • dispatch

      public void dispatch(CoordinateOperation object)
      Dispatches the given object to one of validate methods.
      Parameters:
      object - The object to dispatch.
    • 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.
    • validateCoordinateOperation

      private void validateCoordinateOperation(CoordinateOperation object)
      Validates the given coordinate operation. This method is private because we choose to expose only non-ambiguious validate methods in public API.
      Parameters:
      object - The object to validate, or null.
    • validateOperation

      private void validateOperation(SingleOperation object)
      Validates the given operation. This method is private because we choose to expose only non-ambiguious validate methods in public API.
      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.
    • dimension

      private static int dimension(CoordinateReferenceSystem crs)
      Returns the dimension of the given CRS.