public boolean supports(Element element, Class clazz, PropertyDescriptor descriptor) {
return element.getLocalName().equals("is-first-letter-capitalized");
}
public void handle(Element element, String propertyName, MutableBeanValidationConfiguration configuration) {
Condition cond = new AbstractCondition() {
public boolean doCheck(Object object) {
String text = (String) object;
if (text.length() == 0) {
return false;
}