public class OgnlUtil
extends java.lang.Object
修飾子とタイプ | クラスと説明 |
---|---|
static class |
OgnlUtil.DefaultMemberAccess |
修飾子 | コンストラクタと説明 |
---|---|
protected |
OgnlUtil()
Constructor.
|
修飾子とタイプ | メソッドと説明 |
---|---|
static java.lang.Object |
getValue(java.lang.Object exp,
java.util.Map ctx,
java.lang.Object root)
Returns the value using the OGNL expression, the root object and a context map.
|
static java.lang.Object |
getValue(java.lang.Object exp,
java.util.Map ctx,
java.lang.Object root,
java.lang.String path,
int lineNumber)
Returns the value using the OGNL expression, the root object, a context mpa, a path and a line number.
|
static java.lang.Object |
getValue(java.lang.Object exp,
java.lang.Object root)
Returns the value using the OGNL expression and the root object.
|
static java.lang.Object |
getValue(java.lang.Object exp,
java.lang.Object root,
java.lang.String path,
int lineNumber)
Returns the value using the OGNL expression, the root object, a path and a line number.
|
static java.lang.Object |
parseExpression(java.lang.String expression)
Parses an OGNL expression.
|
static java.lang.Object |
parseExpression(java.lang.String expression,
java.lang.String path,
int lineNumber)
Parses an OGNL expression.
|
public static java.lang.Object getValue(java.lang.Object exp, java.lang.Object root)
exp
- the OGNL expressionroot
- the root objectgetValue(Object, Map, Object, String, int)
public static java.lang.Object getValue(java.lang.Object exp, java.lang.Object root, java.lang.String path, int lineNumber)
exp
- the OGNL expressionroot
- the root objectpath
- the pathlineNumber
- the line numbergetValue(Object, Map, Object, String, int)
public static java.lang.Object getValue(java.lang.Object exp, java.util.Map ctx, java.lang.Object root)
exp
- the OGNL expressionctx
- the context maproot
- the root objectgetValue(Object, Map, Object, String, int)
public static java.lang.Object getValue(java.lang.Object exp, java.util.Map ctx, java.lang.Object root, java.lang.String path, int lineNumber)
exp
- the OGNL expressionctx
- the context maproot
- the root objectpath
- the pathlineNumber
- the line numberOgnlRuntimeException
- when a OgnlException
occurspublic static java.lang.Object parseExpression(java.lang.String expression)
expression
- the expressionparseExpression(String, String, int)
public static java.lang.Object parseExpression(java.lang.String expression, java.lang.String path, int lineNumber)
expression
- the expressionpath
- the pathlineNumber
- the line numberOgnlRuntimeException
- when a OgnlException
occurs