Class Validators
java.lang.Object
org.opengis.test.Validators
A set of convenience static methods for validating GeoAPI implementations. Every
validate method defined in this class delegate their work to one of many
Validator objects in various packages. This class is especially convenient
when used with static import statements.
To override some validation process on a system-wide basis, vendors can change the
DEFAULT static field or change the configuration of the object referenced
by that field.
To override some validation process without changing the system-wide setting,
users can create a new instance of ValidatorContainer and use that instance
instead of this class.
- Since:
- 2.2
- Version:
- 3.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic ValidatorContainerThe default container to be used by all staticvalidatemethods. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidDispatches the given object to one of thevalidate(object)methods.static voidvalidate(DirectPosition object) Tests the conformance of the given object.static voidTests the conformance of the given object.static voidTests the conformance of the given object.static voidvalidate(BoundingPolygon object) Tests the conformance of the given object.static voidTests the conformance of the given object.static voidvalidate(GeographicBoundingBox object) Tests the conformance of the given object.static voidvalidate(GeographicDescription object) Tests the conformance of the given object.static voidvalidate(GeographicExtent object) Tests the conformance of the given object.static voidvalidate(TemporalExtent object) Tests the conformance of the given object.static voidvalidate(VerticalExtent object) Tests the conformance of the given object.static voidvalidate(GeneralParameterDescriptor object) Tests the conformance of the given object.static voidvalidate(GeneralParameterValue object) Tests the conformance of the given object.static voidvalidate(ParameterDescriptor<?> object) Tests the conformance of the given object.static voidvalidate(ParameterDescriptorGroup object) Tests the conformance of the given object.static voidvalidate(ParameterValue<?> object) Tests the conformance of the given object.static voidvalidate(ParameterValueGroup object) Tests the conformance of the given object.static voidvalidate(CoordinateReferenceSystem object) Tests the conformance of the given object.static voidvalidate(DerivedCRS object) Validates the given coordinate reference system.static voidvalidate(EngineeringCRS object) Validates the given coordinate reference system.static voidvalidate(GeocentricCRS object) Tests the conformance of the given object.static voidvalidate(GeographicCRS object) Tests the conformance of the given object.static voidValidates the given coordinate reference system.static voidvalidate(ProjectedCRS object) Validates the given coordinate reference system.static voidvalidate(TemporalCRS object) Validates the given coordinate reference system.static voidvalidate(VerticalCRS object) Validates the given coordinate reference system.static voidvalidate(CartesianCS object) Tests the conformance of the given object.static voidvalidate(CoordinateSystem object) Tests the conformance of the given object.static voidvalidate(CoordinateSystemAxis object) Tests the conformance of the given object.static voidvalidate(CylindricalCS object) Tests the conformance of the given object.static voidvalidate(EllipsoidalCS object) Tests the conformance of the given object.static voidTests the conformance of the given object.static voidTests the conformance of the given object.static voidvalidate(SphericalCS object) Tests the conformance of the given object.static voidTests the conformance of the given object.static voidvalidate(UserDefinedCS object) Tests the conformance of the given object.static voidvalidate(VerticalCS object) Tests the conformance of the given object.static voidTests the conformance of the given object.static voidTests the conformance of the given object.static voidvalidate(EngineeringDatum object) Tests the conformance of the given object.static voidvalidate(GeodeticDatum object) Tests the conformance of the given object.static voidvalidate(ImageDatum object) Tests the conformance of the given object.static voidvalidate(PrimeMeridian object) Tests the conformance of the given object.static voidvalidate(TemporalDatum object) Tests the conformance of the given object.static voidvalidate(VerticalDatum object) Tests the conformance of the given object.static voidvalidate(IdentifiedObject object) Tests the conformance of the given object.static voidvalidate(ConcatenatedOperation object) Tests the conformance of the given object.static voidvalidate(Conversion object) Tests the conformance of the given object.static voidvalidate(CoordinateOperation object) Tests the conformance of the given object.static voidTests the conformance of the given object.static voidvalidate(MathTransform object) Tests the conformance of the given object.static voidvalidate(OperationMethod object) Tests the conformance of the given object.static voidvalidate(PassThroughOperation object) Tests the conformance of the given object.static voidvalidate(Transformation object) Tests the conformance of the given object.static voidvalidate(ReferenceIdentifier object) Tests the conformance of the given object.static voidvalidate(GenericName object) Tests the conformance of the given object.static voidvalidate(InternationalString object) Tests the conformance of the given object.static voidTests the conformance of the given object.static voidTests the conformance of the given object.static voidvalidate(ScopedName object) Tests the conformance of the given object.
-
Field Details
-
DEFAULT
The default container to be used by all staticvalidatemethods. Vendors can change this field to a different container, or change the setting of the referenced container. This field shall not be set tonullhowever.
-
-
Constructor Details
-
Validators
protected Validators()For subclass constructors only.
-
-
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:
-