com.pow2.webgui.taglib
Class ContentProviderTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.pow2.webgui.taglib.ContentProviderTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public class ContentProviderTag
extends javax.servlet.jsp.tagext.TagSupport

ContentProviderTag class.
" />

Author:
Luca Fossato
See Also:
Serialized Form

Field Summary
protected static String KEY_COLLECTION
           
protected static String KEY_PROPERTIESMAP
           
protected static String KEY_TEMPLATE
           
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
ContentProviderTag()
          Constructor
 
Method Summary
 int doEndTag()
           
 Collection getCollection()
          Gets the collection attribute of the CollectionContentProvider object
 String getName()
          Gets the name attribute of the CollectionContentProviderTag object
 HashMap getPropertiesMap()
          Gets the propertiesMap attribute of the BaseContentProvider object
 String getTemplate()
          Gets the template attribute of the CollectionContentProviderTag object
 void setCollection(Collection collection)
          Sets the collection attribute of the CollectionContentProvider object
 void setName(String name)
          Sets the name attribute of the CollectionContentProviderTag object
 void setPropertiesMap(HashMap propertiesMap)
          Sets the propertiesMap attribute of the BaseContentProvider object
 void setTemplate(String template)
          Sets the template attribute of the CollectionContentProviderTag object
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_TEMPLATE

protected static final String KEY_TEMPLATE
See Also:
Constant Field Values

KEY_COLLECTION

protected static final String KEY_COLLECTION
See Also:
Constant Field Values

KEY_PROPERTIESMAP

protected static final String KEY_PROPERTIESMAP
See Also:
Constant Field Values
Constructor Detail

ContentProviderTag

public ContentProviderTag()
Constructor

Method Detail

getCollection

public Collection getCollection()
Gets the collection attribute of the CollectionContentProvider object

Returns:
The collection value

setCollection

public void setCollection(Collection collection)
Sets the collection attribute of the CollectionContentProvider object

Parameters:
collection - The new collection value

getName

public String getName()
Gets the name attribute of the CollectionContentProviderTag object

Returns:
The name value

getPropertiesMap

public HashMap getPropertiesMap()
Gets the propertiesMap attribute of the BaseContentProvider object

Returns:
The propertiesMap value

setName

public void setName(String name)
Sets the name attribute of the CollectionContentProviderTag object

Parameters:
name - The new name value

getTemplate

public String getTemplate()
Gets the template attribute of the CollectionContentProviderTag object

Returns:
The template value

setTemplate

public void setTemplate(String template)
Sets the template attribute of the CollectionContentProviderTag object

Parameters:
template - The new template value

setPropertiesMap

public void setPropertiesMap(HashMap propertiesMap)
Sets the propertiesMap attribute of the BaseContentProvider object

Parameters:
propertiesMap - The new propertiesMap value

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
Description of the Returned Value
Throws:
javax.servlet.jsp.JspException - Description of Exception


Copyright © 2002-2005 Power Of Two S.r.l. All Rights Reserved.