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
ValidatesExtentand related objects from theorg.opengis.metadata.extentpackage. This class should not be used directly; use theValidatorsconvenience 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 voiddispatch(GeographicExtent object)Dispatches the given object to one ofvalidatemethods.voidvalidate(BoundingPolygon object)Validates the bounding polygon.voidvalidate(Extent object)Validates the given extent.voidvalidate(GeographicBoundingBox object)Validates the geographic bounding box.voidvalidate(GeographicDescription object)Validates the geographic description.voidvalidate(TemporalExtent object)Validates the temporal extent.voidvalidate(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 ofvalidatemethods.- 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.
-
-