org.apache.tiles.jsp.taglib
Class AddListAttributeTag

java.lang.Object
  extended by SimpleTagSupport
      extended by org.apache.tiles.jsp.taglib.AddListAttributeTag

public class AddListAttributeTag
extends 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()
          
 java.lang.String getRole()
          Returns the role to check.
 java.lang.String getType()
           Returns content type: string, template or definition.
 void setRole(java.lang.String role)
          Sets the role to check.
 void setType(java.lang.String type)
           Sets content type: string, template or definition.
 
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 java.lang.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(java.lang.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 java.lang.String getType()

Returns content type: string, template or definition.

Returns:
The attribute type.

setType

public void setType(java.lang.String type)

Sets content type: string, template or definition.

Parameters:
type - The attribute type.

doTag

public void doTag()
           throws JspException,
                  java.io.IOException

Throws:
JspException
java.io.IOException