Class CSValidator


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

    • CSValidator

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

    • dispatch

      public void dispatch(CoordinateSystem object)
      Dispatches the given object to one of validate methods.
      Parameters:
      object - The object to dispatch.
    • validate

      public void validate(CoordinateSystemAxis object)
      Validates the given axis.
      Parameters:
      object - The object to validate, or null.
    • validate

      public void validate(CartesianCS object)
      Validates the given coordinate system.
      Parameters:
      object - The object to validate, or null.
    • validate

      public void validate(EllipsoidalCS object)
      Validates the given coordinate system.
      Parameters:
      object - The object to validate, or null.
    • validate

      public void validate(SphericalCS object)
      Validates the given coordinate system.
      Parameters:
      object - The object to validate, or null.
    • validate

      public void validate(CylindricalCS object)
      Validates the given coordinate system.
      Parameters:
      object - The object to validate, or null.
    • validate

      public void validate(PolarCS object)
      Validates the given coordinate system.
      Parameters:
      object - The object to validate, or null.
    • validate

      public void validate(LinearCS object)
      Validates the given coordinate system.
      Parameters:
      object - The object to validate, or null.
    • validate

      public void validate(VerticalCS object)
      Validates the given coordinate system.
      Parameters:
      object - The object to validate, or null.
    • validate

      public void validate(TimeCS object)
      Validates the given coordinate system.
      Parameters:
      object - The object to validate, or null.
    • validate

      public void validate(UserDefinedCS object)
      Validates the given coordinate system.
      Parameters:
      object - The object to validate, or null.
    • validateAxes

      private void validateAxes(CoordinateSystem object)
      Performs the validation that are common to all coordinate systems. This method is invoked by validate methods after they have determined the type of their argument.
      Parameters:
      object - The object to validate (can not be null).