All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nuiton.validator.package-info Maven / Gradle / Ivy

The newest version!
/*
 * #%L
 * Validation :: API
 * %%
 * Copyright (C) 2021 - 2024 Ultreia.io
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public
 * License along with this program.  If not, see
 * .
 * #L%
 */
/**
 * Package of Nuiton-validator api.
 *
 * 

The Validator api

*

* The {@link org.nuiton.validator.NuitonValidator} is the object responsible * to launch validation for a given object and then return the result of * validation in a {@link org.nuiton.validator.NuitonValidatorResult} via the * method {@link org.nuiton.validator.NuitonValidator#validate(Object, NuitonValidationContext)}. *

* *
 * NuitonValidator<O> validator = XXX;
 * NuitonValidatorResult result = validator.validate(o);
 * 
* *

Obtain a validator

* To obtain a validator use the factory of validators : {@link org.nuiton.validator.NuitonValidatorProviders}. * *

Implements the validator api

*

* At the moment, there is an offered implementation based on xwork2 framework. * * To be continued... * * @since 2.0 */ package org.nuiton.validator;





© 2015 - 2025 Weber Informatics LLC | Privacy Policy