public interface ClientConstraintDescriptor
Modifier and Type | Method and Description |
---|---|
void |
applyClientValidation(MarkupWriter writer,
java.lang.String message,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Applies the validation
|
java.lang.Class |
getAnnotationClass()
The annotation class that drives this descriptor.
|
java.util.Set<java.lang.String> |
getAttributes()
Names of attributes from the
ConstraintDescriptor that are relevant. |
java.lang.Class getAnnotationClass()
java.util.Set<java.lang.String> getAttributes()
ConstraintDescriptor
that are relevant.void applyClientValidation(MarkupWriter writer, java.lang.String message, java.util.Map<java.lang.String,java.lang.Object> attributes)
writer
- used to write new attributes into the HTML tag for the user interface elementmessage
- error message to present to user when the constraint is violatedattributes
- getAttributes() selected attributes} from the ConstraintDescriptor
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.