retrievevaluebynameinf.java

来自「这是一个mvc模式」· Java 代码 · 共 39 行

JAVA
39
字号
package jsp.tags.dapact.tags.data;
/**
 * Title:        Data Aware Processing And Control Tags
 * Description:  Tag library for the processing and controlling the input and output of data.
 * Copyright:    LGPL (http://www.gnu.org/copyleft/lesser.html)
 * Compile Date: @compile_date@
 * @author Allen M Servedio
 * @amp_sign@version @VERSION@
 */

/**
 * Interface that all objects must implement if they want to respond to requests for values
 * when supplied with a name.
 */
public interface RetrieveValueByNameInf
{
  /**
   * Called by objects that want to request a value by its name.
   *
   * @param requestor the object requesting the value or the object that the value
   *   is being requested for (like with a lookup: you would pass the TagSupport
   *   object, not the lookup which is what actually calls this function).
   * @param name the name of the value to retrieve.
   *
   * @return the value that was found by the name supplied.
   */
  public Object retrieveValueByName(Object requestor, String name);

  /**
   * @return Get the name of the object to see if we should use it to look up values.
   */
  public String getName();

  /**
   * Set the name of the object to see if we should use it to look up values.
   */
  public void setName(String name);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?