org.thymeleaf.spring3.util
Class FieldUtils

Object
  extended by org.thymeleaf.spring3.util.FieldUtils

public class FieldUtils
extends Object

Since:
1.0
Author:
Daniel Fernández

Field Summary
static String ALL_FIELDS
           
static String ALL_FIELDS_FIELD_EXPRESSION
           
 
Method Summary
static List<String> errors(org.thymeleaf.Arguments arguments, org.thymeleaf.templateresolver.TemplateResolution templateResolution, org.thymeleaf.standard.processor.value.IStandardValueProcessor valueProcessor, String field)
           
static org.springframework.web.servlet.support.BindStatus getBindStatus(org.thymeleaf.Arguments arguments, org.thymeleaf.templateresolver.TemplateResolution templateResolution, org.thymeleaf.standard.processor.value.IStandardValueProcessor valueProcessor, String fieldExpression, boolean allowAllFields)
           
static boolean hasErrors(org.thymeleaf.Arguments arguments, org.thymeleaf.templateresolver.TemplateResolution templateResolution, org.thymeleaf.standard.processor.value.IStandardValueProcessor valueProcessor, String field)
           
static String idFromName(String fieldName)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL_FIELDS

public static final String ALL_FIELDS
See Also:
Constant Field Values

ALL_FIELDS_FIELD_EXPRESSION

public static final String ALL_FIELDS_FIELD_EXPRESSION
See Also:
Constant Field Values
Method Detail

hasErrors

public static boolean hasErrors(org.thymeleaf.Arguments arguments,
                                org.thymeleaf.templateresolver.TemplateResolution templateResolution,
                                org.thymeleaf.standard.processor.value.IStandardValueProcessor valueProcessor,
                                String field)

errors

public static List<String> errors(org.thymeleaf.Arguments arguments,
                                  org.thymeleaf.templateresolver.TemplateResolution templateResolution,
                                  org.thymeleaf.standard.processor.value.IStandardValueProcessor valueProcessor,
                                  String field)

idFromName

public static String idFromName(String fieldName)

getBindStatus

public static org.springframework.web.servlet.support.BindStatus getBindStatus(org.thymeleaf.Arguments arguments,
                                                                               org.thymeleaf.templateresolver.TemplateResolution templateResolution,
                                                                               org.thymeleaf.standard.processor.value.IStandardValueProcessor valueProcessor,
                                                                               String fieldExpression,
                                                                               boolean allowAllFields)


Copyright © 2011 The THYMELEAF team. All Rights Reserved.