org.thymeleaf.spring3.util
Class FieldUtils
Object
org.thymeleaf.spring3.util.FieldUtils
public final class FieldUtils
- extends Object
- Since:
- 1.0
- Author:
- Daniel Fernández, Tobias Gafner
Method Summary |
static List<DetailedError> |
detailedErrors(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext)
|
static List<String> |
errors(org.thymeleaf.Arguments arguments,
String field)
|
static List<String> |
errors(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext)
|
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 expression,
boolean allowAllFields)
Deprecated. Deprecated in 2.1.0.
Use getBindStatusFromParsedExpression(org.thymeleaf.Configuration, org.thymeleaf.context.IProcessingContext, boolean, String)
or getBindStatus(org.thymeleaf.Configuration, org.thymeleaf.context.IProcessingContext, String)
instead. Will be removed in 3.0. |
static org.springframework.web.servlet.support.BindStatus |
getBindStatus(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext,
boolean optional,
String expression)
|
static org.springframework.web.servlet.support.BindStatus |
getBindStatus(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext,
String expression)
|
static org.springframework.web.servlet.support.BindStatus |
getBindStatus(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext,
String expression,
boolean allowAllFields)
Deprecated. Deprecated in 2.1.0.
Use getBindStatusFromParsedExpression(org.thymeleaf.Configuration, org.thymeleaf.context.IProcessingContext, boolean, String)
or getBindStatus(org.thymeleaf.Configuration, org.thymeleaf.context.IProcessingContext, String)
instead. Will be removed in 3.0. |
static org.springframework.web.servlet.support.BindStatus |
getBindStatusFromParsedExpression(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext,
boolean optional,
boolean useSelectionAsRoot,
String expression)
|
static org.springframework.web.servlet.support.BindStatus |
getBindStatusFromParsedExpression(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext,
boolean useSelectionAsRoot,
String expression)
|
static List<String> |
globalErrors(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext)
|
static boolean |
hasAnyErrors(org.thymeleaf.Arguments arguments)
|
static boolean |
hasAnyErrors(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext)
|
static boolean |
hasErrors(org.thymeleaf.Arguments arguments,
String field)
|
static boolean |
hasErrors(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext,
String field)
|
static boolean |
hasGlobalErrors(org.thymeleaf.Arguments arguments)
|
static boolean |
hasGlobalErrors(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext)
|
static String |
idFromName(String fieldName)
|
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALL_FIELDS
public static final String ALL_FIELDS
- See Also:
- Constant Field Values
GLOBAL_EXPRESSION
public static final String GLOBAL_EXPRESSION
- See Also:
- Constant Field Values
ALL_EXPRESSION
public static final String ALL_EXPRESSION
- See Also:
- Constant Field Values
hasErrors
public static boolean hasErrors(org.thymeleaf.Arguments arguments,
String field)
hasAnyErrors
public static boolean hasAnyErrors(org.thymeleaf.Arguments arguments)
- Since:
- 2.1.0
hasGlobalErrors
public static boolean hasGlobalErrors(org.thymeleaf.Arguments arguments)
- Since:
- 2.1.0
hasErrors
public static boolean hasErrors(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext,
String field)
hasAnyErrors
public static boolean hasAnyErrors(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext)
hasGlobalErrors
public static boolean hasGlobalErrors(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext)
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)
errors
public static List<String> errors(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext)
globalErrors
public static List<String> globalErrors(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext)
detailedErrors
public static List<DetailedError> detailedErrors(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext)
- Since:
- 2.1.2
idFromName
public static String idFromName(String fieldName)
getBindStatus
@Deprecated
public static org.springframework.web.servlet.support.BindStatus getBindStatus(org.thymeleaf.Arguments arguments,
String expression,
boolean allowAllFields)
- Deprecated. Deprecated in 2.1.0.
Use
getBindStatusFromParsedExpression(org.thymeleaf.Configuration, org.thymeleaf.context.IProcessingContext, boolean, String)
or getBindStatus(org.thymeleaf.Configuration, org.thymeleaf.context.IProcessingContext, String)
instead. Will be removed in 3.0.
getBindStatus
@Deprecated
public static org.springframework.web.servlet.support.BindStatus getBindStatus(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext,
String expression,
boolean allowAllFields)
- Deprecated. Deprecated in 2.1.0.
Use
getBindStatusFromParsedExpression(org.thymeleaf.Configuration, org.thymeleaf.context.IProcessingContext, boolean, String)
or getBindStatus(org.thymeleaf.Configuration, org.thymeleaf.context.IProcessingContext, String)
instead. Will be removed in 3.0.
getBindStatus
public static org.springframework.web.servlet.support.BindStatus getBindStatus(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext,
String expression)
getBindStatus
public static org.springframework.web.servlet.support.BindStatus getBindStatus(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext,
boolean optional,
String expression)
- Since:
- 2.1.1
getBindStatusFromParsedExpression
public static org.springframework.web.servlet.support.BindStatus getBindStatusFromParsedExpression(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext,
boolean useSelectionAsRoot,
String expression)
- Since:
- 2.1.0
getBindStatusFromParsedExpression
public static org.springframework.web.servlet.support.BindStatus getBindStatusFromParsedExpression(org.thymeleaf.Configuration configuration,
org.thymeleaf.context.IProcessingContext processingContext,
boolean optional,
boolean useSelectionAsRoot,
String expression)
- Since:
- 2.1.1
Copyright © 2013 The THYMELEAF team. All Rights Reserved.