org.thymeleaf.standard.expression
Class ConditionalExpression

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

public final class ConditionalExpression
extends ComplexExpression

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
ConditionalExpression(Expression conditionExpression, Expression thenExpression, Expression elseExpression)
           
 
Method Summary
 Expression getConditionExpression()
           
 Expression getElseExpression()
           
 String getStringRepresentation()
           Obtain a string representation of the expression.
 Expression getThenExpression()
           
 
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

ConditionalExpression

public ConditionalExpression(Expression conditionExpression,
                             Expression thenExpression,
                             Expression elseExpression)
Method Detail

getConditionExpression

public Expression getConditionExpression()

getThenExpression

public Expression getThenExpression()

getElseExpression

public Expression getElseExpression()

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.