org.thymeleaf.spring3.expression
Class SpringStandardConversionService

Object
  extended by org.thymeleaf.standard.expression.AbstractStandardConversionService
      extended by org.thymeleaf.spring3.expression.SpringStandardConversionService
All Implemented Interfaces:
org.thymeleaf.standard.expression.IStandardConversionService

public final class SpringStandardConversionService
extends org.thymeleaf.standard.expression.AbstractStandardConversionService

Implementation of IStandardConversionService that delegates to Spring's type conversion system.

If there is a ConversionService available at the application context, it will be used for conversion.

Since:
2.1.0
Author:
Daniel Fernández

Constructor Summary
SpringStandardConversionService()
           
 
Method Summary
protected
<T> T
convertOther(org.thymeleaf.Configuration configuration, org.thymeleaf.context.IProcessingContext processingContext, Object object, Class<T> targetClass)
           
protected  String convertToString(org.thymeleaf.Configuration configuration, org.thymeleaf.context.IProcessingContext processingContext, Object object)
           
 
Methods inherited from class org.thymeleaf.standard.expression.AbstractStandardConversionService
convert
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringStandardConversionService

public SpringStandardConversionService()
Method Detail

convertToString

protected String convertToString(org.thymeleaf.Configuration configuration,
                                 org.thymeleaf.context.IProcessingContext processingContext,
                                 Object object)
Overrides:
convertToString in class org.thymeleaf.standard.expression.AbstractStandardConversionService

convertOther

protected <T> T convertOther(org.thymeleaf.Configuration configuration,
                             org.thymeleaf.context.IProcessingContext processingContext,
                             Object object,
                             Class<T> targetClass)
Overrides:
convertOther in class org.thymeleaf.standard.expression.AbstractStandardConversionService


Copyright © 2013 The THYMELEAF team. All Rights Reserved.