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, String field)
           
static List<String> errors(org.thymeleaf.Configuration configuration, org.thymeleaf.context.IProcessingContext processingContext, String field)
           
static org.springframework.web.servlet.support.BindStatus getBindStatus(org.thymeleaf.Arguments arguments, String fieldExpression, boolean allowAllFields)
           
static org.springframework.web.servlet.support.BindStatus getBindStatus(org.thymeleaf.Configuration configuration, org.thymeleaf.context.IProcessingContext processingContext, String fieldExpression, boolean allowAllFields)
           
static boolean hasErrors(org.thymeleaf.Arguments arguments, String field)
           
static boolean hasErrors(org.thymeleaf.Configuration configuration, org.thymeleaf.context.IProcessingContext processingContext, 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,
                                String field)

hasErrors

public static boolean hasErrors(org.thymeleaf.Configuration configuration,
                                org.thymeleaf.context.IProcessingContext processingContext,
                                String field)

errors

public static List<String> errors(org.thymeleaf.Arguments arguments,
                                  String field)

errors

public static List<String> errors(org.thymeleaf.Configuration configuration,
                                  org.thymeleaf.context.IProcessingContext processingContext,
                                  String field)

idFromName

public static String idFromName(String fieldName)

getBindStatus

public static org.springframework.web.servlet.support.BindStatus getBindStatus(org.thymeleaf.Arguments arguments,
                                                                               String fieldExpression,
                                                                               boolean allowAllFields)

getBindStatus

public static org.springframework.web.servlet.support.BindStatus getBindStatus(org.thymeleaf.Configuration configuration,
                                                                               org.thymeleaf.context.IProcessingContext processingContext,
                                                                               String fieldExpression,
                                                                               boolean allowAllFields)


Copyright © 2012 The THYMELEAF team. All Rights Reserved.