Class ValidatorContainer


public class ValidatorContainer extends Object
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.


All validate(…) methods in this class are final because this class is not the extension point for overriding validation processes. Instead, extend the appropriate Validator subclass and assign an instance to the corresponding field in this class. For example in order to override the validation of GeodeticCRS objects, one can do:
ValidatorContainer container = new ValidationContainer(); = new CRSValidator(container) {
    public void validate(GeodeticCRS object) {
        // Perform additional validation here.