Package org.opengis.test.referencing
Class CSValidator
- java.lang.Object
-
- org.opengis.test.Validator
-
- org.opengis.test.referencing.ReferencingValidator
-
- org.opengis.test.referencing.CSValidator
-
public class CSValidator extends ReferencingValidator
ValidatesCoordinateSystemand related objects from theorg.opengis.referencing.cspackage. 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 CSValidator(ValidatorContainer container)Creates a new validator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispatch(CoordinateSystem object)Dispatches the given object to one ofvalidatemethods.voidvalidate(CartesianCS object)Validates the given coordinate system.voidvalidate(CoordinateSystemAxis object)Validates the given axis.voidvalidate(CylindricalCS object)Validates the given coordinate system.voidvalidate(EllipsoidalCS object)Validates the given coordinate system.voidvalidate(LinearCS object)Validates the given coordinate system.voidvalidate(PolarCS object)Validates the given coordinate system.voidvalidate(SphericalCS object)Validates the given coordinate system.voidvalidate(TimeCS object)Validates the given coordinate system.voidvalidate(UserDefinedCS object)Validates the given coordinate system.voidvalidate(VerticalCS object)Validates the given coordinate system.private voidvalidateAxes(CoordinateSystem object)Performs the validation that are common to all coordinate systems.-
Methods inherited from class org.opengis.test.referencing.ReferencingValidator
dispatchObject, validate, validateIdentifiedObject, validateReferenceSystem
-
-
-
-
Constructor Detail
-
CSValidator
public CSValidator(ValidatorContainer container)
Creates a new validator.- Parameters:
container- The container of this validator.
-
-
Method Detail
-
dispatch
public void dispatch(CoordinateSystem object)
Dispatches the given object to one ofvalidatemethods.- Parameters:
object- The object to dispatch.
-
validate
public void validate(CoordinateSystemAxis object)
Validates the given axis.- Parameters:
object- The object to validate, ornull.
-
validate
public void validate(CartesianCS object)
Validates the given coordinate system.- Parameters:
object- The object to validate, ornull.
-
validate
public void validate(EllipsoidalCS object)
Validates the given coordinate system.- Parameters:
object- The object to validate, ornull.
-
validate
public void validate(SphericalCS object)
Validates the given coordinate system.- Parameters:
object- The object to validate, ornull.
-
validate
public void validate(CylindricalCS object)
Validates the given coordinate system.- Parameters:
object- The object to validate, ornull.
-
validate
public void validate(PolarCS object)
Validates the given coordinate system.- Parameters:
object- The object to validate, ornull.
-
validate
public void validate(LinearCS object)
Validates the given coordinate system.- Parameters:
object- The object to validate, ornull.
-
validate
public void validate(VerticalCS object)
Validates the given coordinate system.- Parameters:
object- The object to validate, ornull.
-
validate
public void validate(TimeCS object)
Validates the given coordinate system.- Parameters:
object- The object to validate, ornull.
-
validate
public void validate(UserDefinedCS object)
Validates the given coordinate system.- Parameters:
object- The object to validate, ornull.
-
validateAxes
private void validateAxes(CoordinateSystem object)
Performs the validation that are common to all coordinate systems. This method is invoked byvalidatemethods after they have determined the type of their argument.- Parameters:
object- The object to validate (can not be null).
-
-