Object
Validator
MetadataValidator
QualityValidator
Validates
DataQuality
and related objects from the org.opengis.metadata.quality
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:
- 3.1
-
Field Summary
Fields inherited from class org.opengis.test.Validator
container, DEFAULT_TOLERANCE, enforceForbiddenAttributes, logger, requireMandatoryAttributes
-
Constructor Summary
ConstructorDescriptionQualityValidator
(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).int
For each interface implemented by the given object, invokes the correspondingvalidate(…)
method defined in this class (if any).void
validate
(ConformanceResult object) Validates the conformance result.void
validate
(CoverageResult object) Validates the coverage result.void
validate
(DataQuality object) Validates the data quality.void
validate
(DescriptiveResult object) Validates the descriptive result.void
validate
(PositionalAccuracy object) Validates the positional accuracy.void
validate
(QuantitativeResult object) Validates the quantitative result.
-
Constructor Details
-
QualityValidator
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.
-
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 data quality.- Parameters:
object
- the object to validate, ornull
.
-
validate
Validates the positional accuracy.- Parameters:
object
- the object to validate, ornull
.
-
validate
Validates the descriptive result.- Parameters:
object
- the object to validate, ornull
.
-
validate
Validates the conformance result.- Parameters:
object
- the object to validate, ornull
.
-
validate
Validates the quantitative result.- Parameters:
object
- the object to validate, ornull
.
-
validate
Validates the coverage result.- Parameters:
object
- the object to validate, ornull
.
-