org.thymeleaf.standard.expression
Class VariableExpression

Object
  extended by org.thymeleaf.standard.expression.Expression
      extended by org.thymeleaf.standard.expression.SimpleExpression
          extended by org.thymeleaf.standard.expression.VariableExpression
All Implemented Interfaces:
Serializable, IStandardExpression

public final class VariableExpression
extends SimpleExpression

Since:
1.1
Author:
Daniel Fernández
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.thymeleaf.standard.expression.Expression
NESTING_END_CHAR, NESTING_START_CHAR, PARSING_PLACEHOLDER_CHAR
 
Constructor Summary
VariableExpression(String expression)
           
VariableExpression(String expression, boolean convertToString)
           
 
Method Summary
 boolean getConvertToString()
           
 String getExpression()
           
 String getStringRepresentation()
           Obtain a string representation of the expression.
 
Methods inherited from class org.thymeleaf.standard.expression.Expression
execute, execute, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VariableExpression

public VariableExpression(String expression)

VariableExpression

public VariableExpression(String expression,
                          boolean convertToString)
Since:
2.1.0
Method Detail

getExpression

public String getExpression()

getConvertToString

public boolean getConvertToString()
Since:
2.1.0

getStringRepresentation

public String getStringRepresentation()
Description copied from interface: IStandardExpression

Obtain a string representation of the expression.

Specified by:
getStringRepresentation in interface IStandardExpression
Specified by:
getStringRepresentation in class Expression
Returns:
the String representation


Copyright © 2013 The THYMELEAF team. All Rights Reserved.