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

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

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

NestedRootTag. The only other addition in this nested suite of tags. This tag allows for a nested structure to start without relying on the bean and workings of the FormTag. Useful for view pages that don't update when returning to the server, or use hyperlinks rather than form submits. The Bean that it uses can come out of a jsp:useBean tag or define another bean that's already in scope. As long as the other Struts tags can find the bean by name, it'll work. 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: 2003/10/21 17:47:23 $
作成者:
Arron Bates
関連項目:
直列化された形式

フィールドの概要
private  java.lang.String name
           
private  java.lang.String originalName
           
private  java.lang.String originalNesting
           
private  java.lang.String originalNestingName
           
 
クラス 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
 
コンストラクタの概要
NestedRootTag()
           
 
メソッドの概要
 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()
          Getter method for the 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 name)
          Setter method for the name property
 void setProperty(java.lang.String property)
          Setter method for the property property
 
クラス 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
 

フィールドの詳細

name

private java.lang.String name

originalName

private java.lang.String originalName

originalNesting

private java.lang.String originalNesting

originalNestingName

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

NestedRootTag

public NestedRootTag()
メソッドの詳細

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 property)
Setter method for the property property

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

getName

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

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

setName

public void setName(java.lang.String name)
Setter method for the name property

定義:
インタフェース NestedNameSupport 内の setName
パラメータ:
name - new value for the name 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-2003 - Apache Software Foundation