|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.miginfocom.property.ValidatorFactory
public class ValidatorFactory
A factory for validators. Will be quired for every new property field encountered.
A validator factory must always have a public no-args constructor so that ir can be referenced by the
ValidatorFactoryClass annotation.
| Constructor Summary | |
|---|---|
ValidatorFactory()
|
|
| Method Summary | |
|---|---|
java.util.List<Validator> |
create(java.lang.reflect.Field propertyField)
Creates validators for the field or returns null if none should be created. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValidatorFactory()
| Method Detail |
|---|
public java.util.List<Validator> create(java.lang.reflect.Field propertyField)
null if none should be created.
propertyField - The field that points to the property. Can be used to read declared property class type, including
generic arguments, and annotations.
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||