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

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

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

Tag that retrieves the specified property of the specified bean, converts it to a String representation (if necessary), and writes it to the current output stream, optionally filtering characters that are sensitive in HTML.

バージョン:
$Revision: 1.10 $ $Date: 2001/02/12 01:26:58 $
作成者:
Craig R. McClanahan
関連項目:
直列化された形式

フィールドの概要
protected  boolean filter
          Filter the rendered output for characters that are sensitive in HTML?
protected  boolean ignore
          Should we ignore missing beans and simply output nothing?
protected  java.lang.String name
          Name of the bean that contains the data we will be rendering.
protected  java.lang.String property
          Name of the property to be accessed on the specified bean.
protected  java.lang.String scope
          The scope to be searched to retrieve the specified bean.
 
クラス javax.servlet.jsp.tagext.TagSupport から継承したフィールド
id, pageContext
 
インタフェース javax.servlet.jsp.tagext.IterationTag から継承したフィールド
EVAL_BODY_AGAIN
 
インタフェース javax.servlet.jsp.tagext.Tag から継承したフィールド
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
コンストラクタの概要
WriteTag()
           
 
メソッドの概要
 int doStartTag()
          Process the start tag.
 boolean getFilter()
           
 boolean getIgnore()
           
 java.lang.String getName()
           
 java.lang.String getProperty()
           
 java.lang.String getScope()
           
 void release()
          Release all allocated resources.
 void setFilter(boolean filter)
           
 void setIgnore(boolean ignore)
           
 void setName(java.lang.String name)
           
 void setProperty(java.lang.String property)
           
 void setScope(java.lang.String scope)
           
 
クラス javax.servlet.jsp.tagext.TagSupport から継承したメソッド
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

filter

protected boolean filter
Filter the rendered output for characters that are sensitive in HTML?


ignore

protected boolean ignore
Should we ignore missing beans and simply output nothing?


name

protected java.lang.String name
Name of the bean that contains the data we will be rendering.


property

protected java.lang.String property
Name of the property to be accessed on the specified bean.


scope

protected java.lang.String scope
The scope to be searched to retrieve the specified bean.

コンストラクタの詳細

WriteTag

public WriteTag()
メソッドの詳細

getFilter

public boolean getFilter()

setFilter

public void setFilter(boolean filter)

getIgnore

public boolean getIgnore()

setIgnore

public void setIgnore(boolean ignore)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getProperty

public java.lang.String getProperty()

setProperty

public void setProperty(java.lang.String property)

getScope

public java.lang.String getScope()

setScope

public void setScope(java.lang.String scope)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Process the start tag.

定義:
インタフェース javax.servlet.jsp.tagext.Tag 内の doStartTag
オーバーライド:
クラス javax.servlet.jsp.tagext.TagSupport 内の doStartTag
例外:
javax.servlet.jsp.JspException - if a JSP exception has occurred

release

public void release()
Release all allocated resources.

定義:
インタフェース javax.servlet.jsp.tagext.Tag 内の release
オーバーライド:
クラス javax.servlet.jsp.tagext.TagSupport 内の release


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