public class RichDocument extends PartialRichDocument implements PageResourceContainer
CLIENT_ATTRIBUTES_KEY, CLIENT_COMPONENT_KEY, CLIENT_LISTENERS_KEY, COMPONENT_FAMILY, COMPONENT_TYPE, CUSTOMIZATION_ID_KEY, FAILED_CONNECTION_TEXT_KEY, INITIAL_FOCUS_ID_KEY, INLINE_STYLE_KEY, LARGE_ICON_SOURCE_KEY, MAXIMIZED_KEY, META_CONTAINER_FACET, ONUNLOAD_KEY, PARTIAL_TRIGGERS_KEY, SHORT_DESC_KEY, SMALL_ICON_SOURCE_KEY, STATE_SAVING_CLIENT, STATE_SAVING_DEFAULT, STATE_SAVING_KEY, STATE_SAVING_SERVER, STYLE_CLASS_KEY, THEME_KEY, TITLE_KEY, TYPE, UNCOMMITTED_DATA_WARNING_KEY, UNCOMMITTED_DATA_WARNING_OFF, UNCOMMITTED_DATA_WARNING_ON, UNSECURE_KEY, VISIBLE_KEY| Modifier | Constructor and Description |
|---|---|
|
RichDocument()
Construct an instance of the RichDocument.
|
protected |
RichDocument(String rendererType)
Construct an instance of the RichDocument.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addResource(PageResource resource)
Adds a resource to the document component to be rendered inside the <head> element of the HTML page.
|
List<PageResource> |
getAddedPageResources()
Obtains a read-only collection of page resources that have been added to the document during this request if a partial request, or the full list of resources for a full-submit.
|
List<PageResource> |
getPageResources()
Obtains a read-only collection of all page resources associated with the document.
|
void |
processEvent(javax.faces.event.ComponentSystemEvent event) |
void |
resourcesRendered()
Called from the document renderer, this method notifies this component that the resources have been rendered.
|
addClientBehavior, getBeanType, getClientAttributes, getClientBehaviors, getClientListeners, getCustomizationId, getDefaultEventName, getEventNames, getFailedConnectionText, getFamily, getInitialFocusId, getInlineStyle, getLargeIconSource, getMetaContainer, getOnunload, getPartialTriggers, getShortDesc, getSmallIconSource, getStateSaving, getStyleClass, getTheme, getTitle, getUncommittedDataWarning, getUnsecure, isClientComponent, isMaximized, isVisible, setClientAttributes, setClientComponent, setClientListeners, setCustomizationId, setFailedConnectionText, setInitialFocusId, setInlineStyle, setLargeIconSource, setMaximized, setMetaContainer, setOnunload, setPartialTriggers, setShortDesc, setSmallIconSource, setStateSaving, setStyleClass, setTheme, setTitle, setUncommittedDataWarning, setUnsecure, setVisiblesetupVisitingContext, tearDownVisitingContextadaptMethodBinding, addAttributeChange, addAttributeChangeListener, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcast, broadcastToMethodBinding, broadcastToMethodExpression, clearCachedClientIds, clearInitialState, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getComponentChangeFilters, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getListenersForEventClass, getParent, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, initialStateMarked, invokeOnChildrenComponents, invokeOnComponent, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeComponentChangeFilter, removeFacesListener, restoreState, satisfiesPartialTrigger, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setupFlattenedChildrenContext, setupFlattenedContext, setValueBinding, setValueExpression, subscribeToEvent, tearDownFlattenedChildrenContext, tearDownFlattenedContext, toString, unsubscribeFromEvent, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpladdPartialTarget, broadcastInContext, clearCachedClientIds, defaultGetRenderedFacetsAndChildren, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, getStateHelper, getStateHelper, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setupChildrenEncodingContext, setupChildrenVisitingContext, setupEncodingContext, setUpEncodingContext, tearDownChildrenEncodingContext, tearDownChildrenVisitingContext, tearDownEncodingContext, visitAllChildren, visitChildren, visitChildren, visitTree, visitTreeencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getPassThroughAttributes, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isInView, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInViewpublic RichDocument()
protected RichDocument(String rendererType)
public void addResource(PageResource resource)
addResource in interface PageResourceContainerresource - The resource to addpublic void resourcesRendered()
public List<PageResource> getAddedPageResources()
addResource(PageResource) was called.public List<PageResource> getPageResources()
addResource(PageResource) was called.
public void processEvent(javax.faces.event.ComponentSystemEvent event)
throws javax.faces.event.AbortProcessingException
processEvent in interface javax.faces.event.ComponentSystemEventListenerprocessEvent in class javax.faces.component.UIComponentjavax.faces.event.AbortProcessingException