org.thymeleaf.standard.expression
Class TextLiteralExpression

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

public final class TextLiteralExpression
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
TextLiteralExpression(String value)
           
 
Method Summary
 String getStringRepresentation()
           Obtain a string representation of the expression.
 LiteralValue getValue()
           
static String wrapStringIntoLiteral(String str)
           
 
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

TextLiteralExpression

public TextLiteralExpression(String value)
Method Detail

getValue

public LiteralValue getValue()

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

wrapStringIntoLiteral

public static String wrapStringIntoLiteral(String str)


Copyright © 2013 The THYMELEAF team. All Rights Reserved.