Package org.opengis.test.metadata
Class ExtentValidator
- java.lang.Object
-
- org.opengis.test.Validator
-
- org.opengis.test.metadata.MetadataValidator
-
- org.opengis.test.metadata.ExtentValidator
-
public class ExtentValidator extends MetadataValidator
ValidatesExtent
and related objects from theorg.opengis.metadata.extent
package. This class should not be used directly; use theValidators
convenience static methods instead.- Since:
- 2.2
- Version:
- 3.0
-
-
Field Summary
-
Fields inherited from class org.opengis.test.Validator
container, DEFAULT_TOLERANCE, enforceForbiddenAttributes, logger, requireMandatoryAttributes
-
-
Constructor Summary
Constructors Constructor Description ExtentValidator(ValidatorContainer container)
Creates a new validator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispatch(GeographicExtent object)
Dispatches the given object to one ofvalidate
methods.void
validate(BoundingPolygon object)
Validates the bounding polygon.void
validate(Extent object)
Validates the given extent.void
validate(GeographicBoundingBox object)
Validates the geographic bounding box.void
validate(GeographicDescription object)
Validates the geographic description.void
validate(TemporalExtent object)
Validates the temporal extent.void
validate(VerticalExtent object)
Validates the vertical extent.-
Methods inherited from class org.opengis.test.metadata.MetadataValidator
validateCollection, validateMandatory, validateOptional
-
-
-
-
Constructor Detail
-
ExtentValidator
public ExtentValidator(ValidatorContainer container)
Creates a new validator.- Parameters:
container
- The container of this validator.
-
-
Method Detail
-
dispatch
public void dispatch(GeographicExtent object)
Dispatches the given object to one ofvalidate
methods.- Parameters:
object
- The object to dispatch.
-
validate
public void validate(GeographicDescription object)
Validates the geographic description.- Parameters:
object
- The object to validate, ornull
.
-
validate
public void validate(BoundingPolygon object)
Validates the bounding polygon.- Parameters:
object
- The object to validate, ornull
.
-
validate
public void validate(GeographicBoundingBox object)
Validates the geographic bounding box.- Parameters:
object
- The object to validate, ornull
.
-
validate
public void validate(VerticalExtent object)
Validates the vertical extent.- Parameters:
object
- The object to validate, ornull
.
-
validate
public void validate(TemporalExtent object)
Validates the temporal extent.- Parameters:
object
- The object to validate, ornull
.
-
validate
public void validate(Extent object)
Validates the given extent.- Parameters:
object
- The object to validate, ornull
.
-
-