public class StylesheetComponent
extends javax.faces.component.UIOutput
Custom component that replaces the Struts
<html:stylesheet> tag.
| Constructor and Description |
|---|
StylesheetComponent()
Create a new
StylesheetComponent with default properties. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFamily()
Return the component family to which this component belongs.
|
java.lang.String |
getPath()
Return the context-relative stylesheet path.
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
Restore the state of this component.
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
Save the state of this component.
|
void |
setPath(java.lang.String path)
Set the context-relative stylesheet path.
|
clearInitialState, getConverter, getLocalValue, getValue, markInitialState, setConverter, setValueaddClientBehavior, addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreepublic StylesheetComponent()
Create a new StylesheetComponent with default properties.
public java.lang.String getFamily()
Return the component family to which this component belongs.
getFamily in class javax.faces.component.UIOutputpublic java.lang.String getPath()
Return the context-relative stylesheet path.
public void setPath(java.lang.String path)
Set the context-relative stylesheet path.
path - The new pathpublic void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
Restore the state of this component.
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIOutputcontext - FacesContext for the current requeststate - State object from which to restore our statepublic java.lang.Object saveState(javax.faces.context.FacesContext context)
Save the state of this component.
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIOutputcontext - FacesContext for the current requestCopyright © 2000–2025 Apache Software Foundation. All rights reserved.