org.thymeleaf.testing.templateengine.context
Class TestContext

Object
  extended by org.thymeleaf.testing.templateengine.context.TestContext
All Implemented Interfaces:
ITestContext

public final class TestContext
extends Object
implements ITestContext


Constructor Summary
TestContext()
           
 
Method Summary
 ITestContext aggregate(ITestContext context)
           
 ITestContextExpression getLocale()
           
 Map<String,ITestContextExpression> getRequestAttributes()
           
 Map<String,ITestContextExpression[]> getRequestParameters()
           
 Map<String,ITestContextExpression> getServletContextAttributes()
           
 Map<String,ITestContextExpression> getSessionAttributes()
           
 Map<String,ITestContextExpression> getVariables()
           
 void setLocale(ITestContextExpression locale)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestContext

public TestContext()
Method Detail

getLocale

public ITestContextExpression getLocale()
Specified by:
getLocale in interface ITestContext

setLocale

public void setLocale(ITestContextExpression locale)

getVariables

public Map<String,ITestContextExpression> getVariables()
Specified by:
getVariables in interface ITestContext

getRequestParameters

public Map<String,ITestContextExpression[]> getRequestParameters()
Specified by:
getRequestParameters in interface ITestContext

getRequestAttributes

public Map<String,ITestContextExpression> getRequestAttributes()
Specified by:
getRequestAttributes in interface ITestContext

getSessionAttributes

public Map<String,ITestContextExpression> getSessionAttributes()
Specified by:
getSessionAttributes in interface ITestContext

getServletContextAttributes

public Map<String,ITestContextExpression> getServletContextAttributes()
Specified by:
getServletContextAttributes in interface ITestContext

aggregate

public ITestContext aggregate(ITestContext context)
Specified by:
aggregate in interface ITestContext


Copyright © 2013 The THYMELEAF team. All Rights Reserved.