org.seasar.framework.util
クラス OgnlUtil

java.lang.Object
  拡張org.seasar.framework.util.OgnlUtil

public final class OgnlUtil
extends Object

Ognl用のユーティリティクラスです。

作成者:
higa

入れ子クラスの概要
static class OgnlUtil.ClassResolverImpl
          ClassResolverの実装クラスです。
 
メソッドの概要
static Object getValue(Object exp, Map ctx, Object root)
          値を返します。
static Object getValue(Object exp, Map ctx, Object root, String path, int lineNumber)
          値を返します。
static Object getValue(Object exp, Object root)
          値を返します。
static Object getValue(Object exp, Object root, String path, int lineNumber)
          値を返します。
static Object parseExpression(String expression)
          式を解析します。
static Object parseExpression(String expression, String path, int lineNumber)
          式を解析します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

getValue

public static Object getValue(Object exp,
                              Object root)
値を返します。

パラメータ:
exp -
root -
戻り値:
関連項目:
getValue(Object, Map, Object, String, int)

getValue

public static Object getValue(Object exp,
                              Object root,
                              String path,
                              int lineNumber)
値を返します。

パラメータ:
exp -
root -
path -
lineNumber -
戻り値:
関連項目:
getValue(Object, Map, Object, String, int)

getValue

public static Object getValue(Object exp,
                              Map ctx,
                              Object root)
値を返します。

パラメータ:
exp -
ctx -
root -
戻り値:
関連項目:
getValue(Object, Map, Object, String, int)

getValue

public static Object getValue(Object exp,
                              Map ctx,
                              Object root,
                              String path,
                              int lineNumber)
                       throws OgnlRuntimeException
値を返します。

パラメータ:
exp -
ctx -
root -
path -
lineNumber -
戻り値:
例外:
OgnlRuntimeException - OgnlExceptionが発生した場合

parseExpression

public static Object parseExpression(String expression)
式を解析します。

パラメータ:
expression -
戻り値:
解析した結果
関連項目:
parseExpression(String, String, int)

parseExpression

public static Object parseExpression(String expression,
                                     String path,
                                     int lineNumber)
                              throws OgnlRuntimeException
式を解析します。

パラメータ:
expression -
path -
lineNumber -
戻り値:
解析した結果
例外:
OgnlRuntimeException - OgnlExceptionが発生した場合


Copyright ? 2004-2008 The Seasar Foundation. All Rights Reserved.