Object
Validator
ReferencingValidator
DatumValidator
Validates
Datum
and related objects from the org.opengis.datum
package.
This class is provided for users wanting to override the validation methods. When the default
behavior is sufficient, the Validators
static methods provide a more
convenient way to validate various kinds of objects.
- Since:
- 2.2
-
Field Summary
Fields inherited from class org.opengis.test.Validator
container, DEFAULT_TOLERANCE, enforceForbiddenAttributes, logger, requireMandatoryAttributes
-
Constructor Summary
ConstructorDescriptionDatumValidator
(ValidatorContainer container) Creates a new validator instance. -
Method Summary
Modifier and TypeMethodDescriptionint
For each interface implemented by the given object, invokes the correspondingvalidate(…)
method defined in this class (if any).void
validate
(DatumEnsemble<?> object) Validates the given datum ensemble.void
Validates the given ellipsoid.void
validate
(EngineeringDatum object) Validates the given datum.void
validate
(GeodeticDatum object) Validates the given datum.void
validate
(ImageDatum object) Deprecated.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
-
Constructor Details
-
DatumValidator
Creates a new validator instance.- Parameters:
container
- the set of validators to use for validating other kinds of objects (see field javadoc).
-
-
Method Details
-
dispatch
For each interface implemented by the given object, invokes the correspondingvalidate(…)
method defined in this class (if any).- Parameters:
object
- the object to dispatch tovalidate(…)
methods, ornull
.- Returns:
- number of
validate(…)
methods invoked in this class for the given object.
-
validate
Validates the given prime meridian.- Parameters:
object
- the object to validate, ornull
.
-
validate
Validates the given ellipsoid. This method checks the following conditions:- Axis unit is defined and is linear.
- semi-minor <= semi-major.
- inverse flattening > 0.
- Consistency of semi-minor axis length with inverse flattening factor.
- Parameters:
object
- the object to validate, ornull
.
-
validate
Validates the given datum.- Parameters:
object
- the object to validate, ornull
.
-
validate
Validates the given datum.- Parameters:
object
- the object to validate, ornull
.
-
validate
Validates the given datum.- Parameters:
object
- the object to validate, ornull
.
-
validate
Deprecated.Replaced byEngineeringDatum
as of ISO 19111:2019.Validates the given datum.- Parameters:
object
- the object to validate, ornull
.
-
validate
Validates the given datum.- Parameters:
object
- the object to validate, ornull
.
-
validate
Validates the given datum ensemble.- Parameters:
object
- the object to validate, ornull
.- Since:
- 3.1
-
EngineeringDatum
as of ISO 19111:2019.