public class Cache extends OutputFamily
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
DEFAULT_SCOPE |
static java.lang.String |
END_CONTENT_MARKER |
static java.lang.String |
START_CONTENT_MARKER |
static java.lang.String |
VALUE_SET |
COMPONENT_FAMILY
Constructor and Description |
---|
Cache() |
Modifier and Type | Method and Description |
---|---|
void |
encodeChildren(javax.faces.context.FacesContext context) |
java.lang.Object |
getCacheAttribute(javax.faces.context.FacesContext context,
java.lang.String name)
Gets a named attribute associated with the main cache entry this component is using to store
the rendering of its child components.
|
java.lang.String |
getKey() |
java.lang.String |
getScope() |
java.lang.Integer |
getTime() |
java.lang.Boolean |
isDisabled() |
java.lang.Boolean |
isReset() |
java.lang.Boolean |
isUseBuffer() |
protected boolean |
isVisitable(javax.faces.component.visit.VisitContext visitContext) |
void |
setCacheAttribute(javax.faces.context.FacesContext context,
java.lang.String name,
java.lang.Object value)
Sets a named attribute associated with the main cache entry this component is using to store
the rendering of its child components.
|
void |
setDisabled(java.lang.Boolean disabledValue) |
void |
setKey(java.lang.String keyValue) |
void |
setReset(java.lang.Boolean resetValue) |
void |
setScope(java.lang.String scopeValue) |
void |
setTime(java.lang.Integer timeValue) |
void |
setUseBuffer(java.lang.Boolean useBufferValue) |
getFamily, getRendersChildren
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTree
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String VALUE_SET
public static final java.lang.String DEFAULT_SCOPE
public static final java.lang.String START_CONTENT_MARKER
public static final java.lang.String END_CONTENT_MARKER
public void encodeChildren(javax.faces.context.FacesContext context) throws java.io.IOException
encodeChildren
in class javax.faces.component.UIComponentBase
java.io.IOException
public java.lang.Object getCacheAttribute(javax.faces.context.FacesContext context, java.lang.String name)
context
- the current FacesContextname
- name of the attribute to retrieve a value forpublic void setCacheAttribute(javax.faces.context.FacesContext context, java.lang.String name, java.lang.Object value)
context
- the current FacesContextname
- name of the attribute under which the value is storedvalue
- the value that is to be storedprotected boolean isVisitable(javax.faces.component.visit.VisitContext visitContext)
isVisitable
in class javax.faces.component.UIComponent
public java.lang.String getKey()
public void setKey(java.lang.String keyValue)
public java.lang.String getScope()
public void setScope(java.lang.String scopeValue)
public java.lang.Integer getTime()
public void setTime(java.lang.Integer timeValue)
public java.lang.Boolean isUseBuffer()
public void setUseBuffer(java.lang.Boolean useBufferValue)
public java.lang.Boolean isReset()
public void setReset(java.lang.Boolean resetValue)
public java.lang.Boolean isDisabled()
public void setDisabled(java.lang.Boolean disabledValue)