org.thymeleaf.spring3.expression
Class Fields

Object
  extended by org.thymeleaf.spring3.expression.Fields

public final class Fields
extends Object

Since:
1.0
Author:
Daniel Fernández, Tobias Gafner

Constructor Summary
Fields(org.thymeleaf.Configuration configuration, org.thymeleaf.context.IProcessingContext processingContext)
           
 
Method Summary
 List<String> allErrors()
           
 List<DetailedError> detailedErrors()
           
 List<String> errors()
           
 List<String> errors(String field)
           
 List<String> globalErrors()
           
 boolean hasAnyErrors()
           
 boolean hasErrors()
           
 boolean hasErrors(String field)
           
 boolean hasGlobalErrors()
           
 String idFromName(String fieldName)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fields

public Fields(org.thymeleaf.Configuration configuration,
              org.thymeleaf.context.IProcessingContext processingContext)
Method Detail

hasAnyErrors

public boolean hasAnyErrors()
Since:
2.1.0

hasErrors

public boolean hasErrors()
Since:
2.1.0

hasErrors

public boolean hasErrors(String field)

hasGlobalErrors

public boolean hasGlobalErrors()
Since:
2.1.0

allErrors

public List<String> allErrors()
Since:
2.1.0

errors

public List<String> errors()
Since:
2.1.0

errors

public List<String> errors(String field)

globalErrors

public List<String> globalErrors()
Since:
2.1.0

idFromName

public String idFromName(String fieldName)

detailedErrors

public List<DetailedError> detailedErrors()
Since:
2.1.2


Copyright © 2013 The THYMELEAF team. All Rights Reserved.