Class ExtentValidator


  • public class ExtentValidator
    extends MetadataValidator
    Validates Extent and related objects from the org.opengis.metadata.extent package.

    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

    • Method Detail

      • dispatch

        public int dispatch​(GeographicExtent object)
        For each interface implemented by the given object, invokes the corresponding validate(…) method defined in this class (if any).
        Parameters:
        object - the object to dispatch to validate(…) methods, or null.
        Returns:
        number of validate(…) methods invoked in this class for the given object.
      • validate

        public void validate​(GeographicDescription object)
        Validates the geographic description.
        Parameters:
        object - the object to validate, or null.
      • validate

        public void validate​(BoundingPolygon object)
        Validates the bounding polygon.
        Parameters:
        object - the object to validate, or null.
        TODO:
        Not yet implemented.
      • validate

        public void validate​(GeographicBoundingBox object)
        Validates the geographic bounding box.
        Parameters:
        object - the object to validate, or null.
      • validate

        public void validate​(VerticalExtent object)
        Validates the vertical extent.
        Parameters:
        object - the object to validate, or null.
      • validate

        public void validate​(TemporalExtent object)
        Validates the temporal extent.
        Parameters:
        object - the object to validate, or null.
        TODO:
        Validation of temporal primitives not yet implemented.
      • validate

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