org.apache.struts.taglib.bean
クラス ResourceTag

java.lang.Object
  拡張javax.servlet.jsp.tagext.TagSupport
      拡張org.apache.struts.taglib.bean.ResourceTag
すべての実装インタフェース:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class ResourceTag
extends javax.servlet.jsp.tagext.TagSupport

Define a scripting variable based on the contents of the specified web application resource.

バージョン:
$Revision: 1.1 $ $Date: 2004/10/20 03:26:42 $
関連項目:
直列化された形式

フィールドの概要
protected static int BUFFER_SIZE
          Buffer size to use when reading the input stream.
protected  java.lang.String id
          The name of the scripting variable that will be exposed as a page scope attribute.
protected  java.lang.String input
          Return an InputStream to the specified resource if this is non-null.
protected static MessageResources messages
          The message resources for this package.
protected  java.lang.String name
          The module-relative URI of the resource whose contents are to be exposed.
 
クラス javax.servlet.jsp.tagext.TagSupport から継承したフィールド
pageContext
 
インタフェース javax.servlet.jsp.tagext.IterationTag から継承したフィールド
EVAL_BODY_AGAIN
 
インタフェース javax.servlet.jsp.tagext.Tag から継承したフィールド
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
コンストラクタの概要
ResourceTag()
           
 
メソッドの概要
 int doStartTag()
          Retrieve the required property and expose it as a scripting variable.
 java.lang.String getId()
           
 java.lang.String getInput()
           
 java.lang.String getName()
           
 void release()
          Release all allocated resources.
 void setId(java.lang.String id)
           
 void setInput(java.lang.String input)
           
 void setName(java.lang.String name)
           
 
クラス javax.servlet.jsp.tagext.TagSupport から継承したメソッド
doAfterBody, doEndTag, findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース javax.servlet.jsp.tagext.IterationTag から継承したメソッド
 

フィールドの詳細

BUFFER_SIZE

protected static final int BUFFER_SIZE
Buffer size to use when reading the input stream.

関連項目:
定数フィールド値

id

protected java.lang.String id
The name of the scripting variable that will be exposed as a page scope attribute.


input

protected java.lang.String input
Return an InputStream to the specified resource if this is non-null.


messages

protected static MessageResources messages
The message resources for this package.


name

protected java.lang.String name
The module-relative URI of the resource whose contents are to be exposed.

コンストラクタの詳細

ResourceTag

public ResourceTag()
メソッドの詳細

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

getInput

public java.lang.String getInput()

setInput

public void setInput(java.lang.String input)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Retrieve the required property and expose it as a scripting variable.

例外:
javax.servlet.jsp.JspException - if a JSP exception has occurred

release

public void release()
Release all allocated resources.



このドキュメントは、Ja-Jakartaにより訳されました。コメントがある場合は、report@jajakarta.orgまでお願いします。
Copyright (C) 2000-2004 - Apache Software Foundation