xapi.ui.autoui.api.Validator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xapi-core-ui-autoui Show documentation
Show all versions of xapi-core-ui-autoui Show documentation
The core API for generating user interfaces from data models.
The newest version!
package xapi.ui.autoui.api;
public interface Validator {
/**
* @param object -> The object whose validity to check
* @return -> null or Boolean.TRUE to signify validity.
*
* Anything else returned will be treated as a validation error
* (and will probably be toString()ed into an error message)
*/
T isValid(Object object);
}