|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectat.gv.egiz.pdfas.utils.OgnlUtil
Utility class for ognl evaluation. ognl website
| Constructor Summary | |
OgnlUtil()
|
|
OgnlUtil(Map context)
|
|
OgnlUtil(Object root)
|
|
| Method Summary | |
Map |
compileExpressions(Map toCompile)
This method compiles a map of ognl expression to a map with entries |
String |
compileMessage(String template)
Compile/evaluate a message with ognl expressions marked with ${expression} |
boolean |
containsExpression(String template)
|
Object |
evaluate(String ognlExp)
Evaluate an expression as ognl, returning result as object. |
Map |
getContext()
|
void |
mergeOgnlContext(OgnlUtil ognlUtil)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OgnlUtil()
public OgnlUtil(Map context)
public OgnlUtil(Object root)
| Method Detail |
public boolean containsExpression(String template)
public String compileMessage(String template)
template -
public Object evaluate(String ognlExp)
ognlExp -
public Map compileExpressions(Map toCompile)
toCompile -
public Map getContext()
public void mergeOgnlContext(OgnlUtil ognlUtil)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||