|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTagSupport
org.apache.struts.taglib.tiles.PutListTag
PutList tag implementation.
Field Summary | |
private java.lang.String |
attributeName
Name of this attribute. |
private java.util.List |
list
The list itself. |
private java.lang.String |
role
Role attribute. |
Fields inherited from interface org.apache.struts.taglib.tiles.ComponentConstants |
COMPONENT_CONTEXT, COMPONENT_SCOPE, EXCEPTION_KEY, LOCALE_KEY |
Constructor Summary | |
PutListTag()
Default constructor. |
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String attributeName
private java.util.List list
private java.lang.String role
Constructor Detail |
public PutListTag()
Method Detail |
public void release()
protected void releaseInternal()
public void setName(java.lang.String name)
public java.lang.String getName()
public void setRole(java.lang.String role)
role
- The role the user must be in to store content.public java.lang.String getRole()
public java.util.List getList()
public void addElement(java.lang.Object value)
public void processNestedTag(PutListTag nestedTag) throws JspException
processNestedTag
in interface PutListTagParent
nestedTag
- Nested PutTag defining the attribute.
JspException
public void processNestedTag(AddTag nestedTag) throws JspException
processNestedTag
in interface AddTagParent
nestedTag
- Nested to process.
JspException
public int doStartTag() throws JspException
JspException
public int doEndTag() throws JspException
JspException
protected PutListTagParent findEnclosingParent() throws JspException
JspException
- If we can't find an appropriate enclosing tag.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |