Package org.opengis.test.referencing
Class ParameterValidator
java.lang.Object
org.opengis.test.Validator
org.opengis.test.referencing.ReferencingValidator
org.opengis.test.referencing.ParameterValidator
Validates
ParameterValue
and related objects from the org.opengis.parameter
package. This class should not be used directly; use the Validators
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispatch
(GeneralParameterDescriptor object) Dispatches the given object to one ofvalidate
methods.void
dispatch
(GeneralParameterValue object) Dispatches the given object to one ofvalidate
methods.<T> void
validate
(ParameterDescriptor<T> object) Validates the given descriptor.void
validate
(ParameterDescriptorGroup object) Validates the given descriptor.<T> void
validate
(ParameterValue<T> object) Validates the given parameter value.void
validate
(ParameterValueGroup object) Validates the given coordinate system.Methods inherited from class org.opengis.test.referencing.ReferencingValidator
dispatchObject, validate, validateIdentifiedObject, validateReferenceSystem
-
Constructor Details
-
ParameterValidator
Creates a new validator.- Parameters:
container
- The container of this validator.
-
-
Method Details
-
dispatch
Dispatches the given object to one ofvalidate
methods.- Parameters:
object
- The object to dispatch.
-
dispatch
Dispatches the given object to one ofvalidate
methods.- Parameters:
object
- The object to dispatch.
-
validate
Validates the given descriptor.- Type Parameters:
T
- The class of parameter values.- Parameters:
object
- The object to validate, ornull
.
-
validate
Validates the given descriptor.- Parameters:
object
- The object to validate, ornull
.
-
validate
Validates the given parameter value.- Type Parameters:
T
- The class of parameter values.- Parameters:
object
- The object to validate, ornull
.
-
validate
Validates the given coordinate system.- Parameters:
object
- The object to validate, ornull
.
-