org.thymeleaf.standard.expression
Class BinaryOperationExpression

Object
  extended by org.thymeleaf.standard.expression.Expression
      extended by org.thymeleaf.standard.expression.ComplexExpression
          extended by org.thymeleaf.standard.expression.BinaryOperationExpression
All Implemented Interfaces:
Serializable, IStandardExpression
Direct Known Subclasses:
AdditionSubtractionExpression, AndExpression, EqualsNotEqualsExpression, GreaterLesserExpression, MultiplicationDivisionRemainderExpression, OrExpression

public abstract class BinaryOperationExpression
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
protected BinaryOperationExpression(IStandardExpression left, IStandardExpression right)
           
 
Method Summary
protected static org.thymeleaf.standard.expression.ExpressionParsingState composeBinaryOperationExpression(org.thymeleaf.standard.expression.ExpressionParsingState state, int nodeIndex, String[] operators, boolean[] leniencies, Class<? extends BinaryOperationExpression>[] operationClasses, Method leftAllowedMethod, Method rightAllowedMethod)
           
 IStandardExpression getLeft()
           
 IStandardExpression getRight()
           
protected  String getStringRepresentation(String operator)
           
 
Methods inherited from class org.thymeleaf.standard.expression.Expression
execute, execute, getStringRepresentation, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinaryOperationExpression

protected BinaryOperationExpression(IStandardExpression left,
                                    IStandardExpression right)
Method Detail

getLeft

public IStandardExpression getLeft()

getRight

public IStandardExpression getRight()

getStringRepresentation

protected String getStringRepresentation(String operator)

composeBinaryOperationExpression

protected static org.thymeleaf.standard.expression.ExpressionParsingState composeBinaryOperationExpression(org.thymeleaf.standard.expression.ExpressionParsingState state,
                                                                                                           int nodeIndex,
                                                                                                           String[] operators,
                                                                                                           boolean[] leniencies,
                                                                                                           Class<? extends BinaryOperationExpression>[] operationClasses,
                                                                                                           Method leftAllowedMethod,
                                                                                                           Method rightAllowedMethod)


Copyright © 2013 The THYMELEAF team. All Rights Reserved.