Package org.opengis.test
Class ValidatorContainer
java.lang.Object
org.opengis.test.ValidatorContainer
A set of convenience methods for validating GeoAPI implementations. Every
validate
method defined in this class delegate their work to one of many Validator
objects
in various packages. Vendors can change the value of fields in this class if they wish to
override some validation process.- Since:
- 2.2
- Version:
- 3.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionAn unmodifiable "live" list of all validators.The validator forCitation
and related objects.The validator forCoordinateOperation
and related objects.The validator forCoordinateReferenceSystem
and related objects.The validator forCoordinateSystem
and related objects.The validator forDatum
and related objects.The validator forExtent
and related objects.The validator forGeometry
and related objects.The validator forGenericName
and related objects.The validator forParameterValue
and related objects. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newValidatorContainer
initialised with default validators. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
Dispatches the given object to one of thevalidate(object)
methods.final void
validate
(DirectPosition object) Tests the conformance of the given object.final void
Tests the conformance of the given object.final void
Tests the conformance of the given object.final void
validate
(BoundingPolygon object) Tests the conformance of the given object.final void
Tests the conformance of the given object.final void
validate
(GeographicBoundingBox object) Tests the conformance of the given object.final void
validate
(GeographicDescription object) Tests the conformance of the given object.final void
validate
(GeographicExtent object) Tests the conformance of the given object.final void
validate
(TemporalExtent object) Tests the conformance of the given object.final void
validate
(VerticalExtent object) Tests the conformance of the given object.final void
validate
(GeneralParameterDescriptor object) Tests the conformance of the given object.final void
validate
(GeneralParameterValue object) Tests the conformance of the given object.final void
validate
(ParameterDescriptor<?> object) Tests the conformance of the given object.final void
validate
(ParameterDescriptorGroup object) Tests the conformance of the given object.final void
validate
(ParameterValue<?> object) Tests the conformance of the given object.final void
validate
(ParameterValueGroup object) Tests the conformance of the given object.final void
validate
(CoordinateReferenceSystem object) Tests the conformance of the given object.final void
validate
(DerivedCRS object) Validates the given coordinate reference system.final void
validate
(EngineeringCRS object) Validates the given coordinate reference system.final void
validate
(GeocentricCRS object) Tests the conformance of the given object.final void
validate
(GeographicCRS object) Tests the conformance of the given object.final void
Validates the given coordinate reference system.final void
validate
(ProjectedCRS object) Validates the given coordinate reference system.final void
validate
(TemporalCRS object) Validates the given coordinate reference system.final void
validate
(VerticalCRS object) Validates the given coordinate reference system.final void
validate
(CartesianCS object) Tests the conformance of the given object.final void
validate
(CoordinateSystem object) Tests the conformance of the given object.final void
validate
(CoordinateSystemAxis object) Tests the conformance of the given object.final void
validate
(CylindricalCS object) Tests the conformance of the given object.final void
validate
(EllipsoidalCS object) Tests the conformance of the given object.final void
Tests the conformance of the given object.final void
Tests the conformance of the given object.final void
validate
(SphericalCS object) Tests the conformance of the given object.final void
Tests the conformance of the given object.final void
validate
(UserDefinedCS object) Tests the conformance of the given object.final void
validate
(VerticalCS object) Tests the conformance of the given object.final void
Tests the conformance of the given object.final void
Tests the conformance of the given object.final void
validate
(EngineeringDatum object) Tests the conformance of the given object.final void
validate
(GeodeticDatum object) Tests the conformance of the given object.final void
validate
(ImageDatum object) Tests the conformance of the given object.final void
validate
(PrimeMeridian object) Tests the conformance of the given object.final void
validate
(TemporalDatum object) Tests the conformance of the given object.final void
validate
(VerticalDatum object) Tests the conformance of the given object.final void
validate
(IdentifiedObject object) Tests the conformance of the given object.final void
validate
(ConcatenatedOperation object) Tests the conformance of the given object.final void
validate
(Conversion object) Tests the conformance of the given object.final void
validate
(CoordinateOperation object) Tests the conformance of the given object.final void
Tests the conformance of the given object.final void
validate
(MathTransform object) Tests the conformance of the given object.final void
validate
(OperationMethod object) Tests the conformance of the given object.final void
validate
(PassThroughOperation object) Tests the conformance of the given object.final void
validate
(Transformation object) Tests the conformance of the given object.final void
validate
(ReferenceIdentifier object) Tests the conformance of the given object.final void
validate
(GenericName object) Tests the conformance of the given object.final void
validate
(InternationalString object) Tests the conformance of the given object.final void
Tests the conformance of the given object.final void
Tests the conformance of the given object.final void
validate
(ScopedName object) Tests the conformance of the given object.
-
Field Details
-
naming
The validator forGenericName
and related objects. Vendors can change this field to a different validator, or change the setting of the referenced validator. This field shall not be set tonull
however. -
citation
The validator forCitation
and related objects. Vendors can change this field to a different validator, or change the setting of the referenced validator. This field shall not be set tonull
however. -
extent
The validator forExtent
and related objects. Vendors can change this field to a different validator, or change the setting of the referenced validator. This field shall not be set tonull
however. -
datum
The validator forDatum
and related objects. Vendors can change this field to a different validator, or change the setting of the referenced validator. This field shall not be set tonull
however. -
cs
The validator forCoordinateSystem
and related objects. Vendors can change this field to a different validator, or change the setting of the referenced validator. This field shall not be set tonull
however. -
crs
The validator forCoordinateReferenceSystem
and related objects. Vendors can change this field to a different validator, or change the setting of the referenced validator. This field shall not be set tonull
however. -
parameter
The validator forParameterValue
and related objects. Vendors can change this field to a different validator, or change the setting of the referenced validator. This field shall not be set tonull
however. -
coordinateOperation
The validator forCoordinateOperation
and related objects. Vendors can change this field to a different validator, or change the setting of the referenced validator. This field shall not be set tonull
however. -
geometry
The validator forGeometry
and related objects. Vendors can change this field to a different validator, or change the setting of the referenced validator. This field shall not be set tonull
however. -
all
An unmodifiable "live" list of all validators. Any change to the value of a field declared in this class is reflected immediately in this list (so this list is unmodifiable but not immutable). This list is convenient if the same setting must be applied on all validators, for example in order to change theirlogger
setting or to set their setrequireMandatoryAttributes
field tofalse
.
-
-
Constructor Details
-
ValidatorContainer
public ValidatorContainer()Creates a newValidatorContainer
initialised with default validators.
-
-
Method Details
-
dispatch
Dispatches the given object to one of thevalidate(object)
methods. Use this method only if the type is unknow at compile-time.- Parameters:
object
- The object to test, ornull
.
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Validates the given coordinate reference system.- Parameters:
object
- The object to validate, ornull
.- See Also:
-
validate
Validates the given coordinate reference system.- Parameters:
object
- The object to validate, ornull
.- See Also:
-
validate
Validates the given coordinate reference system.- Parameters:
object
- The object to validate, ornull
.- See Also:
-
validate
Validates the given coordinate reference system.- Parameters:
object
- The object to validate, ornull
.- See Also:
-
validate
Validates the given coordinate reference system.- Parameters:
object
- The object to validate, ornull
.- See Also:
-
validate
Validates the given coordinate reference system.- Parameters:
object
- The object to validate, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-
validate
Tests the conformance of the given object.- Parameters:
object
- The object to test, ornull
.- See Also:
-