|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tiles.Expression
public class Expression
It is an expression, along with the expression language (e.g. EL, MVEL, OGNL) it is expressed with.
Constructor Summary | |
---|---|
Expression(Expression toCopy)
Copy constructor. |
|
Expression(String expression)
Constructor, using the default (i.e. |
|
Expression(String expression,
String language)
Constructor. |
Method Summary | |
---|---|
static Expression |
createExpression(String expression,
String language)
Creates an Expression object from the expression and its language. |
static Expression |
createExpressionFromDescribedExpression(String describedExpression)
Creates an Expression object from a string in the form LANGUAGE:EXPRESSION . |
boolean |
equals(Object obj)
|
String |
getExpression()
Returns the expression string. |
String |
getLanguage()
Returns the language in which the expression is expressed. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Expression(String expression, String language)
expression
- The expression itself.language
- The language of the expression.public Expression(String expression)
null
) language.
expression
- The expression itself.public Expression(Expression toCopy)
toCopy
- The expression to copy.Method Detail |
---|
public static Expression createExpressionFromDescribedExpression(String describedExpression)
LANGUAGE:EXPRESSION
.
describedExpression
- The expression in the form
LANGUAGE:EXPRESSION
. The LANGUAGE part should be expressed
only with letters and numbers.
null
if the expression is null.public static Expression createExpression(String expression, String language)
expression
- The expression itself.language
- The language of the expression.
null
if the expression is null.public String getExpression()
public String getLanguage()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |