Package org.opengis.test.referencing
Class DatumValidator
- java.lang.Object
-
- org.opengis.test.Validator
-
- org.opengis.test.referencing.ReferencingValidator
-
- org.opengis.test.referencing.DatumValidator
-
public class DatumValidator extends ReferencingValidator
ValidatesDatum
and related objects from theorg.opengis.datum
package. This class should not be used directly; use theValidators
convenience static methods instead.- Since:
- 2.2
- Version:
- 3.0.1
-
-
Field Summary
Fields Modifier and Type Field Description private Units
units
The units of measurement to be used for the verifications.-
Fields inherited from class org.opengis.test.Validator
container, DEFAULT_TOLERANCE, enforceForbiddenAttributes, logger, requireMandatoryAttributes
-
-
Constructor Summary
Constructors Constructor Description DatumValidator(ValidatorContainer container)
Creates a new validator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispatch(Datum object)
Dispatches the given object to one ofvalidate
methods.void
validate(Ellipsoid object)
Validates the given ellipsoid.void
validate(EngineeringDatum object)
Validates the given datum.void
validate(GeodeticDatum object)
Validates the given datum.void
validate(ImageDatum object)
Validates the given datum.void
validate(PrimeMeridian object)
Validates the given prime meridian.void
validate(TemporalDatum object)
Validates the given datum.void
validate(VerticalDatum object)
Validates the given datum.-
Methods inherited from class org.opengis.test.referencing.ReferencingValidator
dispatchObject, validate, validateIdentifiedObject, validateReferenceSystem
-
-
-
-
Field Detail
-
units
private final Units units
The units of measurement to be used for the verifications.
-
-
Constructor Detail
-
DatumValidator
public DatumValidator(ValidatorContainer container)
Creates a new validator.- Parameters:
container
- The container of this validator.
-
-
Method Detail
-
dispatch
public void dispatch(Datum object)
Dispatches the given object to one ofvalidate
methods.- Parameters:
object
- The object to dispatch.
-
validate
public void validate(PrimeMeridian object)
Validates the given prime meridian.- Parameters:
object
- The object to validate, ornull
.
-
validate
public void validate(Ellipsoid object)
Validates the given ellipsoid.- Parameters:
object
- The object to validate, ornull
.
-
validate
public void validate(GeodeticDatum object)
Validates the given datum.- Parameters:
object
- The object to validate, ornull
.
-
validate
public void validate(VerticalDatum object)
Validates the given datum.- Parameters:
object
- The object to validate, ornull
.
-
validate
public void validate(TemporalDatum object)
Validates the given datum.- Parameters:
object
- The object to validate, ornull
.
-
validate
public void validate(ImageDatum object)
Validates the given datum.- Parameters:
object
- The object to validate, ornull
.
-
validate
public void validate(EngineeringDatum object)
Validates the given datum.- Parameters:
object
- The object to validate, ornull
.
-
-