|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--javax.servlet.jsp.tagext.BodyTagSupport
|
+--org.apache.struts.taglib.template.PutTag
Tag handler for <template:put>, which puts content into request scope.
| フィールドの概要 | |
private java.lang.String |
content
The content's URI (or text). |
private java.lang.String |
direct
Determines whether content is included (false) or printed (true). |
private java.lang.String |
name
The content's name. |
private java.lang.String |
role
The role that the user must be in to store content. |
| クラス 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 |
| コンストラクタの概要 | |
PutTag()
|
|
| メソッドの概要 | |
int |
doEndTag()
Process the end tag by putting content into the enclosing insert tag. |
private java.lang.String |
getActualContent()
Returns the content associated with this tag. |
private javax.servlet.jsp.tagext.TagSupport |
getAncestor(java.lang.String className)
Convenience method for locating ancestor tags by class name. |
java.lang.String |
getContent()
Get the content attribute. |
java.lang.String |
getDirect()
Returns the direct attribute associated with this tag. |
java.lang.String |
getName()
Get the name attribute. |
java.lang.String |
getRole()
Get the role attribute. |
private boolean |
hasBody()
Returns a boolean indicating whether this tag has a body. |
void |
release()
Reset member values for reuse. |
void |
setContent(java.lang.String content)
Set the content's URI (if it's to be included) or text (if it's to be printed). |
void |
setDirect(java.lang.String direct)
Set direct to true, and content will be printed directly, instead of included (direct == false). |
void |
setName(java.lang.String name)
Set the content name. |
void |
setRole(java.lang.String role)
|
| クラス javax.servlet.jsp.tagext.BodyTagSupport から継承したメソッド |
doAfterBody, doInitBody, doStartTag, 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.Tag から継承したメソッド |
getParent, setPageContext, setParent |
| フィールドの詳細 |
private java.lang.String name
private java.lang.String role
private java.lang.String content
private java.lang.String direct
| コンストラクタの詳細 |
public PutTag()
| メソッドの詳細 |
public void setName(java.lang.String name)
public void setRole(java.lang.String role)
public void setContent(java.lang.String content)
public void setDirect(java.lang.String direct)
public java.lang.String getName()
public java.lang.String getRole()
public java.lang.String getContent()
public java.lang.String getDirect()
public int doEndTag()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.tagext.Tag 内の doEndTagjavax.servlet.jsp.tagext.BodyTagSupport 内の doEndTagjavax.servlet.jsp.JspException - if this tag is not enclosed by
<template:insert>.public void release()
javax.servlet.jsp.tagext.Tag 内の releasejavax.servlet.jsp.tagext.BodyTagSupport 内の release
private java.lang.String getActualContent()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspExceptionprivate boolean hasBody()
private javax.servlet.jsp.tagext.TagSupport getAncestor(java.lang.String className)
throws javax.servlet.jsp.JspException
className - The name of the ancestor class.
javax.servlet.jsp.JspException
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||