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 forCitationand related objects.The validator forCoordinateOperationand related objects.The validator forCoordinateReferenceSystemand related objects.The validator forCoordinateSystemand related objects.The validator forDatumand related objects.The validator forExtentand related objects.The validator forGeometryand related objects.The validator forGenericNameand related objects.The validator forParameterValueand related objects. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newValidatorContainerinitialised with default validators. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidDispatches the given object to one of thevalidate(object)methods.final voidvalidate(DirectPosition object) Tests the conformance of the given object.final voidTests the conformance of the given object.final voidTests the conformance of the given object.final voidvalidate(BoundingPolygon object) Tests the conformance of the given object.final voidTests the conformance of the given object.final voidvalidate(GeographicBoundingBox object) Tests the conformance of the given object.final voidvalidate(GeographicDescription object) Tests the conformance of the given object.final voidvalidate(GeographicExtent object) Tests the conformance of the given object.final voidvalidate(TemporalExtent object) Tests the conformance of the given object.final voidvalidate(VerticalExtent object) Tests the conformance of the given object.final voidvalidate(GeneralParameterDescriptor object) Tests the conformance of the given object.final voidvalidate(GeneralParameterValue object) Tests the conformance of the given object.final voidvalidate(ParameterDescriptor<?> object) Tests the conformance of the given object.final voidvalidate(ParameterDescriptorGroup object) Tests the conformance of the given object.final voidvalidate(ParameterValue<?> object) Tests the conformance of the given object.final voidvalidate(ParameterValueGroup object) Tests the conformance of the given object.final voidvalidate(CoordinateReferenceSystem object) Tests the conformance of the given object.final voidvalidate(DerivedCRS object) Validates the given coordinate reference system.final voidvalidate(EngineeringCRS object) Validates the given coordinate reference system.final voidvalidate(GeocentricCRS object) Tests the conformance of the given object.final voidvalidate(GeographicCRS object) Tests the conformance of the given object.final voidValidates the given coordinate reference system.final voidvalidate(ProjectedCRS object) Validates the given coordinate reference system.final voidvalidate(TemporalCRS object) Validates the given coordinate reference system.final voidvalidate(VerticalCRS object) Validates the given coordinate reference system.final voidvalidate(CartesianCS object) Tests the conformance of the given object.final voidvalidate(CoordinateSystem object) Tests the conformance of the given object.final voidvalidate(CoordinateSystemAxis object) Tests the conformance of the given object.final voidvalidate(CylindricalCS object) Tests the conformance of the given object.final voidvalidate(EllipsoidalCS object) Tests the conformance of the given object.final voidTests the conformance of the given object.final voidTests the conformance of the given object.final voidvalidate(SphericalCS object) Tests the conformance of the given object.final voidTests the conformance of the given object.final voidvalidate(UserDefinedCS object) Tests the conformance of the given object.final voidvalidate(VerticalCS object) Tests the conformance of the given object.final voidTests the conformance of the given object.final voidTests the conformance of the given object.final voidvalidate(EngineeringDatum object) Tests the conformance of the given object.final voidvalidate(GeodeticDatum object) Tests the conformance of the given object.final voidvalidate(ImageDatum object) Tests the conformance of the given object.final voidvalidate(PrimeMeridian object) Tests the conformance of the given object.final voidvalidate(TemporalDatum object) Tests the conformance of the given object.final voidvalidate(VerticalDatum object) Tests the conformance of the given object.final voidvalidate(IdentifiedObject object) Tests the conformance of the given object.final voidvalidate(ConcatenatedOperation object) Tests the conformance of the given object.final voidvalidate(Conversion object) Tests the conformance of the given object.final voidvalidate(CoordinateOperation object) Tests the conformance of the given object.final voidTests the conformance of the given object.final voidvalidate(MathTransform object) Tests the conformance of the given object.final voidvalidate(OperationMethod object) Tests the conformance of the given object.final voidvalidate(PassThroughOperation object) Tests the conformance of the given object.final voidvalidate(Transformation object) Tests the conformance of the given object.final voidvalidate(ReferenceIdentifier object) Tests the conformance of the given object.final voidvalidate(GenericName object) Tests the conformance of the given object.final voidvalidate(InternationalString object) Tests the conformance of the given object.final voidTests the conformance of the given object.final voidTests the conformance of the given object.final voidvalidate(ScopedName object) Tests the conformance of the given object.
-
Field Details
-
naming
The validator forGenericNameand 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 tonullhowever. -
citation
The validator forCitationand 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 tonullhowever. -
extent
The validator forExtentand 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 tonullhowever. -
datum
The validator forDatumand 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 tonullhowever. -
cs
The validator forCoordinateSystemand 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 tonullhowever. -
crs
The validator forCoordinateReferenceSystemand 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 tonullhowever. -
parameter
The validator forParameterValueand 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 tonullhowever. -
coordinateOperation
The validator forCoordinateOperationand 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 tonullhowever. -
geometry
The validator forGeometryand 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 tonullhowever. -
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 theirloggersetting or to set their setrequireMandatoryAttributesfield tofalse.
-
-
Constructor Details
-
ValidatorContainer
public ValidatorContainer()Creates a newValidatorContainerinitialised 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:
-