|
||||||||||
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(java.lang.Class annotationClass,
java.lang.String validatorName,
java.lang.String... attributes)
Creates a ClientConstraintDescriptor . |
Method Summary | |
---|---|
java.lang.Class |
getAnnotationClass()
Returns the annotation describing the constraint declaration. |
java.util.Set<java.lang.String> |
getAttributes()
Attribute names of the constraint annotation to be passed (along with their values) to the JavaScript validator function as an JSONObject . |
java.lang.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(java.lang.Class annotationClass, java.lang.String validatorName, java.lang.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 java.lang.Class getAnnotationClass()
public java.lang.String getValidatorName()
public java.util.Set<java.lang.String> getAttributes()
JSONObject
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |