|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.expressions.AbstractExpression
de.unidu.is.expressions.PlainExpression
An expression for plain content.
| Field Summary | |
protected java.lang.String |
content
The content of this expression. |
| Constructor Summary | |
PlainExpression(java.lang.String content)
Creates a new expression object. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Tests whether this expressions equals the specified PlainExpression. |
int |
hashCode()
Returns the hashcode of this expression object. |
void |
set(java.lang.String content)
Sets the content of this expression. |
Expression |
substitute(java.util.Map binding)
Performs an substitution for variables, e.g. for each key variable in the specified binding, all occurences of
${key} are replaced by the corresponding value in the
map. |
java.lang.String |
toString()
Returns the content of this expression. |
| Methods inherited from class de.unidu.is.expressions.AbstractExpression |
getSQLTemplate |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String content
| Constructor Detail |
public PlainExpression(java.lang.String content)
content - expression content| Method Detail |
public boolean equals(java.lang.Object o)
o - expression to test
public java.lang.String toString()
public int hashCode()
public Expression substitute(java.util.Map binding)
variable in the specified binding, all occurences of
${key} are replaced by the corresponding value in the
map.How the substitution is managed is left to the implementing class. It is explicitly allowed to return a new expression object.
substitute in interface Expressionsubstitute in class AbstractExpressionbinding - variable binding
public void set(java.lang.String content)
content - new content
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||