Object
Validator
MetadataValidator
MetadataBaseValidator
Validates
Metadata and related objects from the org.opengis.metadata package.
This validator is named MetadataBaseValidator for consistency with the "mdb"
namespace in XML schema. Metadata is usually the root of the metadata tree.
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
ConstructorsConstructorDescriptionMetadataBaseValidator(ValidatorContainer container) Creates a new validator instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(Identifier object) Validates the given identifier.voidValidates the given metadata.
-
Constructor Details
-
MetadataBaseValidator
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
-
validate
Validates the given identifier.- Parameters:
object- the identifier to validate, ornull.
-