Package org.opengis.test.metadata
Class MetadataValidator
-
- Direct Known Subclasses:
CitationValidator
,ExtentValidator
,MetadataBaseValidator
public abstract class MetadataValidator extends Validator
Base class for validators oforg.opengis.metadata
package and sub-packages.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 Validator
container, DEFAULT_TOLERANCE, enforceForbiddenAttributes, logger, requireMandatoryAttributes
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MetadataValidator(ValidatorContainer container, String packageName)
Creates a new validator instance.
-
-
-
Constructor Detail
-
MetadataValidator
protected MetadataValidator(ValidatorContainer container, String packageName)
Creates a new validator instance.- Parameters:
container
- the set of validators to use for validating other kinds of objects (see field javadoc).packageName
- the name of the package containing the classes to be validated.
-
-