|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.beanvalidator.ClientConstraintDescriptor
public final class ClientConstraintDescriptor
Describes a single client-side constraint.
| Constructor Summary | |
|---|---|
ClientConstraintDescriptor(Class annotationClass,
String validatorName,
String... attributes)
Creates a ClientConstraintDescriptor. |
|
| Method Summary | |
|---|---|
Class |
getAnnotationClass()
Returns the annotation describing the constraint declaration. |
Set<String> |
getAttributes()
Attribute names of the constraint annotation to be passed (along with their values) to the JavaScript validator function as an JSONObject. |
String |
getValidatorName()
Returns the name of the client-side validator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientConstraintDescriptor(Class annotationClass,
String validatorName,
String... attributes)
ClientConstraintDescriptor.
annotationClass - Type of the constraint annotationvalidatorName - Name of the client-side validatorattributes - Attribute names of the constraint annotation to be passed (along with their values) to the JavaScript validator
function as an JSONObject.| Method Detail |
|---|
public Class getAnnotationClass()
public String getValidatorName()
public Set<String> getAttributes()
JSONObject.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||