public class PutListTag extends javax.servlet.jsp.tagext.TagSupport implements ComponentConstants, AddTagParent, PutListTagParent
COMPONENT_CONTEXT, COMPONENT_SCOPE, EXCEPTION_KEY, LOCALE_KEY| Constructor and Description |
|---|
PutListTag()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(Object value)
Set property.
|
int |
doEndTag()
Do end tag.
|
int |
doStartTag()
Do start tag.
|
protected PutListTagParent |
findEnclosingParent()
Find enclosing parent tag accepting this tag.
|
List |
getList()
Get list defined in tag.
|
String |
getName()
Get property.
|
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(String name)
Set property.
|
void |
setRole(String role)
Set role attribute.
|
public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.TagSupportprotected void releaseInternal()
public void setName(String name)
public String getName()
public void setRole(String role)
role - The role the user must be in to store content.public String getRole()
public List getList()
public void addElement(Object value)
public void processNestedTag(PutListTag nestedTag) throws javax.servlet.jsp.JspException
processNestedTag in interface PutListTagParentnestedTag - Nested PutTag defining the attribute.javax.servlet.jsp.JspExceptionpublic void processNestedTag(AddTag nestedTag) throws javax.servlet.jsp.JspException
processNestedTag in interface AddTagParentnestedTag - Nested to process.javax.servlet.jsp.JspExceptionpublic int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspExceptionpublic int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspExceptionprotected PutListTagParent findEnclosingParent() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException - If we can't find an appropriate enclosing tag.Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.