Class MetadataBaseValidator


  • public class MetadataBaseValidator
    extends MetadataValidator
    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
    • Method Detail

      • validate

        public void validate​(Metadata object)
        Validates the given metadata.
        Parameters:
        object - the object to validate, or null.
      • validate

        public void validate​(Identifier object)
        Validates the given identifier.
        Parameters:
        object - the identifier to validate, or null.