Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
BodyTagSupport
org.apache.struts.taglib.template.PutTag
public class PutTag
extends BodyTagSupport
Field Summary | |
private String |
|
private String |
|
private String |
|
private String |
|
Method Summary | |
int |
|
private String |
|
private TagSupport |
|
String |
|
String |
|
String |
|
String |
|
private boolean |
|
void |
|
void |
|
void |
|
void |
|
void |
|
private String content
The content's URI (or text).
private String direct
Determines whether content is included (false) or printed (true). Content is included (false) by default.
private String name
The content's name.
private String role
The role that the user must be in to store content.
public int doEndTag() throws JspException
Deprecated. Use Tiles instead.
Process the end tag by putting content into the enclosing insert tag.
private String getActualContent() throws JspException
Deprecated. Use Tiles instead.
Returns the content associated with this tag.
private TagSupport getAncestor(String className) throws JspException
Deprecated. Use Tiles instead.
Convenience method for locating ancestor tags by class name.
- Parameters:
className
- The name of the ancestor class.
public String getContent()
Deprecated. Use Tiles instead.
Get the content attribute.
public String getDirect()
Deprecated. Use Tiles instead.
Returns the direct attribute associated with this tag.
public String getName()
Deprecated. Use Tiles instead.
Get the name attribute.
public String getRole()
Deprecated. Use Tiles instead.
Get the role attribute.
private boolean hasBody()
Deprecated. Use Tiles instead.
Returns a boolean indicating whether this tag has a body.
public void release()
Deprecated. Use Tiles instead.
Reset member values for reuse. This method calls super.release(), which invokes TagSupport.release(), which typically does nothing.
public void setContent(String content)
Deprecated. Use Tiles instead.
Set the content's URI (if it's to be included) or text (if it's to be printed).
public void setDirect(String direct)
Deprecated. Use Tiles instead.
Set direct to true, and content will be printed directly, instead of included (direct == false).
public void setName(String name)
Deprecated. Use Tiles instead.
Set the content name.
public void setRole(String role)
Deprecated. Use Tiles instead.
- Parameters:
role
- The role the user must be in to store content.