org.apache.struts.taglib.nested
クラス NestedPropertyTag

java.lang.Object
  拡張javax.servlet.jsp.tagext.TagSupport
      拡張javax.servlet.jsp.tagext.BodyTagSupport
          拡張org.apache.struts.taglib.nested.NestedPropertyTag
すべての実装インタフェース:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, NestedNameSupport, NestedPropertySupport, NestedTagSupport, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class NestedPropertyTag
extends javax.servlet.jsp.tagext.BodyTagSupport
implements NestedNameSupport

NestedPropertyTag. The one of only two additions in this nested suite of tags. This is so that you can specify extra levels of nesting in one elegant tag rather than having to propagate and manage an extra dot notated property in nested child tags. It's simply recognised by the helper class and it's property is added to the nesting list.

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

フィールドの概要
private  java.lang.String originalName
           
private  java.lang.String originalNest
           
private  java.lang.String originalProperty
           
private  java.lang.String property
           
 
クラス javax.servlet.jsp.tagext.BodyTagSupport から継承したフィールド
bodyContent
 
クラス javax.servlet.jsp.tagext.TagSupport から継承したフィールド
id, pageContext
 
インタフェース javax.servlet.jsp.tagext.BodyTag から継承したフィールド
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
インタフェース javax.servlet.jsp.tagext.IterationTag から継承したフィールド
EVAL_BODY_AGAIN
 
インタフェース javax.servlet.jsp.tagext.Tag から継承したフィールド
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
コンストラクタの概要
NestedPropertyTag()
           
 
メソッドの概要
 int doAfterBody()
          Render the resulting content evaluation.
 int doEndTag()
          Evaluate the rest of the page
 int doStartTag()
          Overriding method of the heart of the tag.
 java.lang.String getName()
          The getters and setters required to set a tags name property.
 java.lang.String getProperty()
          Getter method for the property property
 void release()
          JSP method to release all resources held by the tag.
 void setName(java.lang.String newNamed)
          The setter for the name property
 void setProperty(java.lang.String newProperty)
          Setter method for the property property Also, only setting the original property value to those values not set by the nested logic.
 
クラス javax.servlet.jsp.tagext.BodyTagSupport から継承したメソッド
doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
クラス javax.servlet.jsp.tagext.TagSupport から継承したメソッド
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース javax.servlet.jsp.tagext.BodyTag から継承したメソッド
 
インタフェース javax.servlet.jsp.tagext.Tag から継承したメソッド
getParent, setPageContext, setParent
 

フィールドの詳細

property

private java.lang.String property

originalNest

private java.lang.String originalNest

originalName

private java.lang.String originalName

originalProperty

private java.lang.String originalProperty
コンストラクタの詳細

NestedPropertyTag

public NestedPropertyTag()
メソッドの詳細

getName

public java.lang.String getName()
インタフェース NestedNameSupport の記述:
The getters and setters required to set a tags name property.

定義:
インタフェース NestedNameSupport 内の getName
戻り値:
String value of the tags' name property

setName

public void setName(java.lang.String newNamed)
インタフェース NestedNameSupport の記述:
The setter for the name property

定義:
インタフェース NestedNameSupport 内の setName
パラメータ:
newNamed - new String value to set the name property to

getProperty

public java.lang.String getProperty()
Getter method for the property property

定義:
インタフェース NestedPropertySupport 内の getProperty
戻り値:
String value of the property property

setProperty

public void setProperty(java.lang.String newProperty)
Setter method for the property property Also, only setting the original property value to those values not set by the nested logic.

定義:
インタフェース NestedPropertySupport 内の setProperty
パラメータ:
newProperty - new value for the property property

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Overriding method of the heart of the tag. Gets the relative property and tells the JSP engine to evaluate its body content.

定義:
インタフェース javax.servlet.jsp.tagext.Tag 内の doStartTag
戻り値:
int JSP continuation directive.
例外:
javax.servlet.jsp.JspException

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Render the resulting content evaluation.

定義:
インタフェース javax.servlet.jsp.tagext.IterationTag 内の doAfterBody
戻り値:
int JSP continuation directive.
例外:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Evaluate the rest of the page

定義:
インタフェース javax.servlet.jsp.tagext.Tag 内の doEndTag
戻り値:
int JSP continuation directive.
例外:
javax.servlet.jsp.JspException

release

public void release()
JSP method to release all resources held by the tag.

定義:
インタフェース javax.servlet.jsp.tagext.Tag 内の release


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