org.apache.velocity.runtime.parser.node
クラス GetExecutor

java.lang.Object
  拡張org.apache.velocity.runtime.parser.node.AbstractExecutor
      拡張org.apache.velocity.runtime.parser.node.GetExecutor

public class GetExecutor
extends AbstractExecutor

Executor that simply tries to execute a get(key) operation. This will try to find a get(key) method for any type of object, not just objects that implement the Map interface as was previously the case.

バージョン:
$Id: GetExecutor.java,v 1.6 2001/10/22 03:53:25 jon Exp $
作成者:
Jason van Zyl

フィールドの概要
private  java.lang.Object[] args
          Container to hold the 'key' part of get(key).
 
クラス org.apache.velocity.runtime.parser.node.AbstractExecutor から継承したフィールド
method, rsvc
 
コンストラクタの概要
GetExecutor(RuntimeServices r, java.lang.Class c, java.lang.String key)
          Default constructor.
 
メソッドの概要
 java.lang.Object execute(java.lang.Object o, InternalContextAdapter context)
          Execute method against context.
 
クラス org.apache.velocity.runtime.parser.node.AbstractExecutor から継承したメソッド
isAlive
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

args

private java.lang.Object[] args
Container to hold the 'key' part of get(key).

コンストラクタの詳細

GetExecutor

public GetExecutor(RuntimeServices r,
                   java.lang.Class c,
                   java.lang.String key)
            throws java.lang.Exception
Default constructor.

メソッドの詳細

execute

public java.lang.Object execute(java.lang.Object o,
                                InternalContextAdapter context)
                         throws java.lang.IllegalAccessException,
                                MethodInvocationException
Execute method against context.

定義:
クラス AbstractExecutor 内の execute
例外:
java.lang.IllegalAccessException
MethodInvocationException


Copyright © 2003 Apache Software Foundation. All Rights Reserved.