|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.loom.validator.AbstractPropertyValidator
org.loom.validator.MethodValidator
public class MethodValidator
Calls a given method to validate
Constructor Summary | |
---|---|
MethodValidator()
|
Method Summary | |
---|---|
void |
decorate(FormInputTag t)
Add attributes to the tag based on this Validator instance metadata |
void |
setValidateMethod(java.lang.reflect.Method validateMethod)
|
java.lang.String |
toString()
|
void |
validate(ValidationRequest request,
java.lang.Object container)
Calls the validation method |
Methods inherited from class org.loom.validator.AbstractPropertyValidator |
---|
getMessagePrefix, getOverridenMessageKey, getPropertyPath, isBindMessages, isValidateCollectionContainer, pushPropertyPath, setBindMessages, setMessagePrefix, setOverridenMessageKey, setPropertyPath, setValidateCollectionContainer, validateCollectionContainer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MethodValidator()
Method Detail |
---|
public void validate(ValidationRequest request, java.lang.Object container)
container
- The container of the method to be invokedpublic void setValidateMethod(java.lang.reflect.Method validateMethod)
public java.lang.String toString()
toString
in class java.lang.Object
public void decorate(FormInputTag t)
AbstractPropertyValidator
decorate
in interface FormInputDecorator
decorate
in class AbstractPropertyValidator
t
- the tag to be modified
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |