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 SummaryFields inherited from class org.opengis.test.Validatorcontainer, DEFAULT_TOLERANCE, enforceForbiddenAttributes, logger, requireMandatoryAttributes
- 
Constructor SummaryConstructorsConstructorDescriptionDatumValidator(ValidatorContainer container) Creates a new validator instance.
- 
Method SummaryModifier and TypeMethodDescriptionintFor each interface implemented by the given object, invokes the correspondingvalidate(…)method defined in this class (if any).voidvalidate(DatumEnsemble<?> object) Validates the given datum ensemble.voidValidates the given ellipsoid.voidvalidate(EngineeringDatum object) Validates the given datum.voidvalidate(GeodeticDatum object) Validates the given datum.voidvalidate(ImageDatum object) Deprecated.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.ReferencingValidatordispatchObject, validate
- 
Constructor Details- 
DatumValidatorCreates a new validator instance.- Parameters:
- container- the set of validators to use for validating other kinds of objects (see field javadoc).
 
 
- 
- 
Method Details- 
dispatchFor each interface implemented by the given object, invokes the correspondingvalidate(…)method defined in this class (if any).- Parameters:
- object- the object to dispatch to- validate(…)methods, or- null.
- Returns:
- number of validate(…)methods invoked in this class for the given object.
 
- 
validateValidates the given prime meridian.- Parameters:
- object- the object to validate, or- null.
 
- 
validateValidates 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, or- null.
 
- 
validateValidates the given datum.- Parameters:
- object- the object to validate, or- null.
 
- 
validateValidates the given datum.- Parameters:
- object- the object to validate, or- null.
 
- 
validateValidates the given datum.- Parameters:
- object- the object to validate, or- null.
 
- 
validateDeprecated.Replaced byEngineeringDatumas of ISO 19111:2019.Validates the given datum.- Parameters:
- object- the object to validate, or- null.
 
- 
validateValidates the given datum.- Parameters:
- object- the object to validate, or- null.
 
- 
validateValidates the given datum ensemble.- Parameters:
- object- the object to validate, or- null.
- Since:
- 3.1
 
 
- 
EngineeringDatumas of ISO 19111:2019.