Object
Validator
MetadataValidator
MaintenanceValidator
Validates objects from the
org.opengis.metadata.maintenance
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
ConstructorDescriptionMaintenanceValidator
(ValidatorContainer container) Creates a new validator instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(MaintenanceInformation object) Validates the maintenance information.void
Validates the scope.
-
Constructor Details
-
MaintenanceValidator
Creates a new validator instance.- Parameters:
container
- the set of validators to use for validating other kinds of objects (see field javadoc).
-
-
Method Details
-
validate
Validates the maintenance information.- Parameters:
object
- the object to validate, ornull
.
-
validate
-