Package org.apache.tiles.api
Class Expression
java.lang.Object
org.apache.tiles.api.Expression
It is an expression, along with the expression language (e.g. EL, MVEL, OGNL)
 it is expressed with.
- Since:
- 2.2.0
- 
Constructor SummaryConstructorsConstructorDescriptionExpression(String expression) Constructor, using the default (i.e.Expression(String expression, String language) Constructor.Expression(Expression toCopy) Copy constructor.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ExpressioncreateExpression(String expression, String language) Creates an Expression object from the expression and its language.static ExpressioncreateExpressionFromDescribedExpression(String describedExpression) Creates an Expression object from a string in the formLANGUAGE:EXPRESSION.booleanReturns the expression string.Returns the language in which the expression is expressed.inthashCode()toString()
- 
Constructor Details- 
ExpressionConstructor.- Parameters:
- expression- The expression itself.
- language- The language of the expression.
- Since:
- 2.2.0
 
- 
ExpressionConstructor, using the default (i.e.null) language.- Parameters:
- expression- The expression itself.
- Since:
- 2.2.0
 
- 
ExpressionCopy constructor.- Parameters:
- toCopy- The expression to copy.
- Since:
- 2.2.0
 
 
- 
- 
Method Details- 
createExpressionFromDescribedExpressionCreates an Expression object from a string in the formLANGUAGE:EXPRESSION.- Parameters:
- describedExpression- The expression in the form- LANGUAGE:EXPRESSION. The LANGUAGE part should be expressed only with letters and numbers.
- Returns:
- The created object, or nullif the expression is null.
- Since:
- 2.2.0
 
- 
createExpressionCreates an Expression object from the expression and its language.- Parameters:
- expression- The expression itself.
- language- The language of the expression.
- Returns:
- The created object, or nullif the expression is null.
- Since:
- 2.2.0
 
- 
getExpressionReturns the expression string.- Returns:
- The expression itself.
- Since:
- 2.2.0
 
- 
getLanguageReturns the language in which the expression is expressed.- Returns:
- The expression language.
- Since:
- 2.2.0
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-