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.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
protected 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 PutListTagParent
nestedTag
- Nested PutTag defining the attribute.javax.servlet.jsp.JspException
public void processNestedTag(AddTag nestedTag) throws javax.servlet.jsp.JspException
processNestedTag
in interface AddTagParent
nestedTag
- Nested to process.javax.servlet.jsp.JspException
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
protected 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.