org.jboss.seam.ui.taglib
Class CacheTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTagBase
      extended by javax.faces.webapp.UIComponentClassicTagBase
          extended by javax.faces.webapp.UIComponentELTag
              extended by org.jboss.seam.ui.util.cdk.UIComponentELTagBase
                  extended by org.jboss.seam.ui.util.cdk.UIComponentTagBase
                      extended by org.jboss.seam.ui.taglib.CacheTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspIdConsumer, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class CacheTag
extends UIComponentTagBase


Field Summary
 
Fields inherited from class javax.faces.webapp.UIComponentClassicTagBase
bodyContent, pageContext, UNIQUE_ID_PREFIX
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Constructor Summary
CacheTag()
           
 
Method Summary
 java.lang.String getComponentType()
           
 java.lang.String getRendererType()
           
 void release()
           
 void setCacheProvider(javax.el.ValueExpression __cacheProvider)
          The cache provider to use, only needed if you install alter the default cache provider in an application where multiple cache providers are in use Setter for cacheProvider
 void setEnabled(javax.el.ValueExpression __enabled)
          a value expression that determines if the cache should be used.
 void setKey(javax.el.ValueExpression __key)
          the key to cache rendered content, often a value expression.
protected  void setProperties(javax.faces.component.UIComponent component)
           
 void setRegion(javax.el.ValueExpression __region)
          a cache node to use (different nodes can have different expiry policies).
 
Methods inherited from class org.jboss.seam.ui.util.cdk.UIComponentTagBase
getExpressionFactory, isValueReference, setActionListenerProperty, setActionProperty, setBooleanProperty, setBooleanProperty, setDoubleProperty, setDoubleProperty, setFloatProperty, setFloatProperty, setIntegerProperty, setIntegerProperty, setLongProperty, setLongProperty, setProperty, setProperty, setStringProperty, setStringProperty, setValueChangedListenerProperty, setValueProperty, setValueProperty
 
Methods inherited from class org.jboss.seam.ui.util.cdk.UIComponentELTagBase
setActionListenerProperty, setActionProperty, setConverterProperty, setValidatorProperty, setValueChangeListenerProperty
 
Methods inherited from class javax.faces.webapp.UIComponentELTag
createComponent, getELContext, hasBinding, setBinding, setRendered
 
Methods inherited from class javax.faces.webapp.UIComponentClassicTagBase
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doAfterBody, doEndTag, doInitBody, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getDoStartValue, getFacesContext, getFacesJspId, getFacetName, getId, getIndexOfNextChildTag, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent, setupResponseWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, setPageContext, setParent
 

Constructor Detail

CacheTag

public CacheTag()
Method Detail

setCacheProvider

public void setCacheProvider(javax.el.ValueExpression __cacheProvider)
The cache provider to use, only needed if you install alter the default cache provider in an application where multiple cache providers are in use Setter for cacheProvider

Parameters:
cacheProvider - - new value

setEnabled

public void setEnabled(javax.el.ValueExpression __enabled)
a value expression that determines if the cache should be used. Setter for enabled

Parameters:
enabled - - new value

setKey

public void setKey(javax.el.ValueExpression __key)
the key to cache rendered content, often a value expression. For example, if we were caching a page fragment that displays a document, we might use key="Document-#{document.id}". Setter for key

Parameters:
key - - new value

setRegion

public void setRegion(javax.el.ValueExpression __region)
a cache node to use (different nodes can have different expiry policies). Setter for region

Parameters:
region - - new value

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.faces.webapp.UIComponentELTag

setProperties

protected void setProperties(javax.faces.component.UIComponent component)
Overrides:
setProperties in class javax.faces.webapp.UIComponentELTag

getComponentType

public java.lang.String getComponentType()
Specified by:
getComponentType in class javax.faces.webapp.UIComponentTagBase

getRendererType

public java.lang.String getRendererType()
Specified by:
getRendererType in class javax.faces.webapp.UIComponentTagBase


Copyright © 2011 Seam Framework. All Rights Reserved.