org.apache.tiles.jsp.taglib
Class AddListAttributeTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by org.apache.tiles.jsp.taglib.AddListAttributeTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class AddListAttributeTag
extends javax.servlet.jsp.tagext.SimpleTagSupport

AddListAttribute tag implementation.

Since:
Tiles 1.0
Version:
$Rev: 783101 $ $Date: 2009-06-09 21:27:26 +0200 (mar, 09 giu 2009) $

Constructor Summary
AddListAttributeTag()
           
 
Method Summary
 void doTag()
          
 String getRole()
          Returns the role to check.
 String getType()
           Returns content type: string, template or definition.
 void setRole(String role)
          Sets the role to check.
 void setType(String type)
           Sets content type: string, template or definition.
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddListAttributeTag

public AddListAttributeTag()
Method Detail

getRole

public String getRole()
Returns the role to check. If the user is in the specified role, the tag is taken into account; otherwise, the tag is ignored (skipped).

Returns:
The role to check.

setRole

public void setRole(String role)
Sets the role to check. If the user is in the specified role, the tag is taken into account; otherwise, the tag is ignored (skipped).

Parameters:
role - The role to check.

getType

public String getType()

Returns content type: string, template or definition.

Returns:
The attribute type.

setType

public void setType(String type)

Sets content type: string, template or definition.

Parameters:
type - The attribute type.

doTag

public void doTag()
           throws javax.servlet.jsp.JspException,
                  IOException

Specified by:
doTag in interface javax.servlet.jsp.tagext.SimpleTag
Overrides:
doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
Throws:
javax.servlet.jsp.JspException
IOException


Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.