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
ValidatesDatumand related objects from theorg.opengis.datumpackage. This class should not be used directly; use theValidatorsconvenience static methods instead.- Since:
- 2.2
- Version:
- 3.0.1
-
-
Field Summary
Fields Modifier and Type Field Description private UnitsunitsThe 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 voiddispatch(Datum object)Dispatches the given object to one ofvalidatemethods.voidvalidate(Ellipsoid object)Validates the given ellipsoid.voidvalidate(EngineeringDatum object)Validates the given datum.voidvalidate(GeodeticDatum object)Validates the given datum.voidvalidate(ImageDatum object)Validates the given datum.voidvalidate(PrimeMeridian object)Validates the given prime meridian.voidvalidate(TemporalDatum object)Validates the given datum.voidvalidate(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 ofvalidatemethods.- 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.
-
-