Class ReferencingValidator

Object
Validator
ReferencingValidator
Direct Known Subclasses:
CRSValidator, CSValidator, DatumValidator, OperationValidator, ParameterValidator

public abstract class ReferencingValidator extends Validator
Validates IdentifiedObject and related objects from the org.opengis.referencing package. This class should not be used directly; use the Validators convenience static methods instead.
Since:
2.2
  • Constructor Details

    • ReferencingValidator

      public ReferencingValidator(ValidatorContainer container, String packageName)
      Creates a new validator.
      Parameters:
      container - The container of this validator.
      packageName - The name of the package containing the classes to be validated.
  • Method Details

    • dispatchObject

      public final void dispatchObject(IdentifiedObject object)
      Delegates to a validate method expecting a more specific argument.
      Parameters:
      object - The object to validate, or null.
    • validate

      public void validate(ReferenceIdentifier object)
      Ensures that the given identifier has a code.
      Parameters:
      object - The object to validate, or null.