Package org.apache.struts.faces.renderer
Class StylesheetRenderer
java.lang.Object
jakarta.faces.render.Renderer
org.apache.struts.faces.renderer.AbstractRenderer
org.apache.struts.faces.renderer.StylesheetRenderer
Renderer
implementation for the stylesheet
tag
from the Struts-Faces Integration Library.
- Version:
- $Rev$ $Date$
-
Field Summary
Fields inherited from class jakarta.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
encodeEnd
(FacesContext context, UIComponent component) Render a relative HTML<link>
element for atext/css
stylesheet at the specified context-relative path.Methods inherited from class org.apache.struts.faces.renderer.AbstractRenderer
decode, encodeBegin, encodeChildren, encodeRecursive, getAsString, isDisabled, isReadOnly, isXhtml, renderAttributes, renderBoolean, renderEnd, renderPassThrough, renderStart, searchComponent, setSubmittedValue
Methods inherited from class jakarta.faces.render.Renderer
convertClientId, getConvertedValue, getRendersChildren
-
Constructor Details
-
StylesheetRenderer
public StylesheetRenderer()
-
-
Method Details
-
encodeEnd
Render a relative HTML
<link>
element for atext/css
stylesheet at the specified context-relative path.- Overrides:
encodeEnd
in classAbstractRenderer
- Parameters:
context
- FacesContext for the request we are processingcomponent
- UIComponent to be rendered- Throws:
IOException
- if an input/output error occurs while renderingNullPointerException
- ifcontext
orcomponent
isnull
-