Class MetadataValidator

  • Direct Known Subclasses:
    CitationValidator, ExtentValidator, MetadataBaseValidator

    public abstract class MetadataValidator
    extends Validator
    Base class for validators of org.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
    • 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.