org.apache.struts.taglib.tiles
クラス PutListTag

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

public class PutListTag
extends javax.servlet.jsp.tagext.TagSupport
implements ComponentConstants, AddTagParent, PutListTagParent

PutList tag implementation.

関連項目:
直列化された形式

フィールドの概要
private  java.lang.String attributeName
          Name of this attribute.
private  java.util.List list
          The list itself.
private  java.lang.String role
          Role attribute.
 
クラス javax.servlet.jsp.tagext.TagSupport から継承したフィールド
id, pageContext
 
インタフェース org.apache.struts.taglib.tiles.ComponentConstants から継承したフィールド
COMPONENT_CONTEXT, COMPONENT_SCOPE, EXCEPTION_KEY, LOCALE_KEY
 
インタフェース javax.servlet.jsp.tagext.IterationTag から継承したフィールド
EVAL_BODY_AGAIN
 
インタフェース javax.servlet.jsp.tagext.Tag から継承したフィールド
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
コンストラクタの概要
PutListTag()
          Default constructor.
 
メソッドの概要
 void addElement(java.lang.Object value)
          Set property.
 int doEndTag()
          Do end tag.
 int doStartTag()
          Do start tag.
protected  PutListTagParent findEnclosingParent()
          Find enclosing parent tag accepting this tag.
 java.util.List getList()
          Get list defined in tag.
 java.lang.String getName()
          Get property.
 java.lang.String getRole()
          Get role attribute.
 void processNestedTag(AddTag nestedTag)
          Process nested ≶add> tag.
 void processNestedTag(PutListTag nestedTag)
          Process nested ≶putList> tag.
 void release()
          Release all allocated resources.
protected  void releaseInternal()
          Release all internal resources.
 void setName(java.lang.String name)
          Set property.
 void setRole(java.lang.String role)
          Set role attribute.
 
クラス javax.servlet.jsp.tagext.TagSupport から継承したメソッド
doAfterBody, 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.IterationTag から継承したメソッド
 

フィールドの詳細

attributeName

private java.lang.String attributeName
Name of this attribute.


list

private java.util.List list
The list itself.


role

private java.lang.String role
Role attribute.

コンストラクタの詳細

PutListTag

public PutListTag()
Default constructor.

メソッドの詳細

release

public void release()
Release all allocated resources.

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

releaseInternal

protected void releaseInternal()
Release all internal resources.


setName

public void setName(java.lang.String name)
Set property.


getName

public java.lang.String getName()
Get property.


setRole

public void setRole(java.lang.String role)
Set role attribute.

パラメータ:
role - The role the user must be in to store content.

getRole

public java.lang.String getRole()
Get role attribute.


getList

public java.util.List getList()
Get list defined in tag.


addElement

public void addElement(java.lang.Object value)
Set property.


processNestedTag

public void processNestedTag(PutListTag nestedTag)
                      throws javax.servlet.jsp.JspException
Process nested ≶putList> tag. Method calls by nested ≶putList> tags. Nested list is added to current list. If role is defined, nested attribute is wrapped into an untypped definition containing attribute value and role.

定義:
インタフェース PutListTagParent 内の processNestedTag
パラメータ:
nestedTag - Nested PutTag defining the attribute.
例外:
javax.servlet.jsp.JspException

processNestedTag

public void processNestedTag(AddTag nestedTag)
                      throws javax.servlet.jsp.JspException
Process nested ≶add> tag. Method calls by nested ≶add> tags. Nested attribute is added to current list. If role is defined, nested attribute is wrapped into an untypped definition containing attribute value and role.

定義:
インタフェース AddTagParent 内の processNestedTag
パラメータ:
nestedTag - Nested to process.
例外:
javax.servlet.jsp.JspException

doStartTag

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

定義:
インタフェース javax.servlet.jsp.tagext.Tag 内の doStartTag
例外:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Do end tag.

定義:
インタフェース javax.servlet.jsp.tagext.Tag 内の doEndTag
例外:
javax.servlet.jsp.JspException

findEnclosingParent

protected PutListTagParent findEnclosingParent()
                                        throws javax.servlet.jsp.JspException
Find enclosing parent tag accepting this tag.

例外:
javax.servlet.jsp.JspException - If we can't find an appropriate enclosing tag.


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