org.apache.struts.taglib
クラス HtmlPropertyTag

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

public final class HtmlPropertyTag
extends javax.servlet.jsp.tagext.TagSupport

Custom tag implementation that acts like <jsp:getProperty> but encodes the output stream so that HTML-related characters do not cause difficulties.

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

フィールドの概要
private static MessageResources messages
          The message resources for this package.
private  java.lang.String name
          The name of the object instance from which the property is obtained.
private  java.lang.String property
          The name of the property to get.
 
クラス 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
 
コンストラクタの概要
HtmlPropertyTag()
          Construct a new instance of this tag.
 
メソッドの概要
 int doStartTag()
          Process the start tag.
 java.lang.String getName()
          Return the object name.
 java.lang.String getProperty()
          Return the property name.
 void release()
          Release any acquired resources.
 void setName(java.lang.String name)
          Set the object name.
 void setProperty(java.lang.String property)
          Set the property name.
 
クラス 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
 

フィールドの詳細

name

private java.lang.String name
The name of the object instance from which the property is obtained.


messages

private static MessageResources messages
The message resources for this package.


property

private java.lang.String property
The name of the property to get.

コンストラクタの詳細

HtmlPropertyTag

public HtmlPropertyTag()
Construct a new instance of this tag.

メソッドの詳細

getName

public java.lang.String getName()
Return the object name.


setName

public void setName(java.lang.String name)
Set the object name.

パラメータ:
name - The new object name

getProperty

public java.lang.String getProperty()
Return the property name.


setProperty

public void setProperty(java.lang.String property)
Set the property name.

パラメータ:
property - The new property name

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 any acquired 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