|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Validator<T>
Validator that can validate some aspect of a component's model, and indicate problems to the user.
Note that the class Validators
provides many built-in validators to perform common tasks.
Modifier and Type | Method and Description |
---|---|
boolean |
validate(Problems problems,
java.lang.String compName,
T model)
Validate the passed model. |
Method Detail |
---|
boolean validate(Problems problems, java.lang.String compName, T model)
problems
- A list of problems.compName
- The name of the component in question (may be null in some cases)model
- The model in question
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |