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 TypeMethodDescriptionvoiddispatch(GeneralParameterDescriptor object) Dispatches the given object to one ofvalidatemethods.voiddispatch(GeneralParameterValue object) Dispatches the given object to one ofvalidatemethods.<T> voidvalidate(ParameterDescriptor<T> object) Validates the given descriptor.voidvalidate(ParameterDescriptorGroup object) Validates the given descriptor.<T> voidvalidate(ParameterValue<T> object) Validates the given parameter value.voidvalidate(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 ofvalidatemethods.- Parameters:
object- The object to dispatch.
-
dispatch
Dispatches the given object to one ofvalidatemethods.- 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.
-