public class Cache extends OutputFamily
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_TYPE |
static String |
DEFAULT_SCOPE |
static String |
END_CONTENT_MARKER |
static String |
START_CONTENT_MARKER |
static String |
VALUE_SET |
COMPONENT_FAMILY
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
Constructor and Description |
---|
Cache() |
Modifier and Type | Method and Description |
---|---|
void |
encodeChildren(FacesContext context) |
Object |
getCacheAttribute(FacesContext context,
String name)
Gets a named attribute associated with the main cache entry this component is using to store
the rendering of its child components.
|
String |
getKey() |
String |
getScope() |
Integer |
getTime() |
Boolean |
isDisabled() |
Boolean |
isReset() |
Boolean |
isUseBuffer() |
protected boolean |
isVisitable(VisitContext visitContext) |
void |
setCacheAttribute(FacesContext context,
String name,
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(Boolean disabledValue) |
void |
setKey(String keyValue) |
void |
setReset(Boolean resetValue) |
void |
setScope(String scopeValue) |
void |
setTime(Integer timeValue) |
void |
setUseBuffer(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 String COMPONENT_TYPE
public static final String VALUE_SET
public static final String DEFAULT_SCOPE
public static final String START_CONTENT_MARKER
public static final String END_CONTENT_MARKER
public void encodeChildren(FacesContext context) throws IOException
encodeChildren
in class UIComponentBase
IOException
public Object getCacheAttribute(FacesContext context, String name)
context
- the current FacesContextname
- name of the attribute to retrieve a value forpublic void setCacheAttribute(FacesContext context, String name, 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(VisitContext visitContext)
isVisitable
in class UIComponent
public String getKey()
public void setKey(String keyValue)
public String getScope()
public void setScope(String scopeValue)
public Integer getTime()
public void setTime(Integer timeValue)
public Boolean isUseBuffer()
public void setUseBuffer(Boolean useBufferValue)
public Boolean isReset()
public void setReset(Boolean resetValue)
public Boolean isDisabled()
public void setDisabled(Boolean disabledValue)