Class MetadataBaseValidator

Object
Validator
MetadataValidator
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
  • Constructor Details

    • MetadataBaseValidator

      public MetadataBaseValidator(ValidatorContainer container)
      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

      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.