Class StylesheetRenderer
- java.lang.Object
-
- jakarta.faces.render.Renderer
-
- com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer
-
- com.sun.faces.renderkit.html_basic.StylesheetRenderer
-
- All Implemented Interfaces:
ComponentSystemEventListener,FacesListener,EventListener
public class StylesheetRenderer extends ScriptStyleBaseRenderer
This
Rendererhandles the rendering ofstylesheetreferences.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_CONTENT_TYPE-
Fields inherited from class com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer
logger
-
Fields inherited from class jakarta.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
-
-
Constructor Summary
Constructors Constructor Description StylesheetRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidendExternalElement(ResponseWriter writer, UIComponent component, String resourceUrl)Allow the subclass to customize the end external element content.protected voidendInlineElement(ResponseWriter writer, UIComponent component)Allow the subclass to customize the end inline element content.protected voidstartExternalElement(FacesContext context, ResponseWriter writer, UIComponent component)Allow the subclass to customize the start external element content.protected voidstartInlineElement(FacesContext context, ResponseWriter writer, UIComponent component)Allow the subclass to customize the start inline element content.protected StringverifyTarget(String toVerify)Allow a subclass to control what's a valid value for "target".-
Methods inherited from class com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer
decode, encodeBegin, encodeChildren, encodeEnd, getRendersChildren, processEvent
-
Methods inherited from class jakarta.faces.render.Renderer
convertClientId, getConvertedValue
-
-
-
-
Field Detail
-
DEFAULT_CONTENT_TYPE
public static final String DEFAULT_CONTENT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
startInlineElement
protected void startInlineElement(FacesContext context, ResponseWriter writer, UIComponent component) throws IOException
Description copied from class:ScriptStyleBaseRendererAllow the subclass to customize the start inline element content.
- Specified by:
startInlineElementin classScriptStyleBaseRenderer- Throws:
IOException
-
endInlineElement
protected void endInlineElement(ResponseWriter writer, UIComponent component) throws IOException
Description copied from class:ScriptStyleBaseRendererAllow the subclass to customize the end inline element content.
- Specified by:
endInlineElementin classScriptStyleBaseRenderer- Throws:
IOException
-
startExternalElement
protected void startExternalElement(FacesContext context, ResponseWriter writer, UIComponent component) throws IOException
Description copied from class:ScriptStyleBaseRendererAllow the subclass to customize the start external element content.
- Specified by:
startExternalElementin classScriptStyleBaseRenderer- Throws:
IOException
-
endExternalElement
protected void endExternalElement(ResponseWriter writer, UIComponent component, String resourceUrl) throws IOException
Description copied from class:ScriptStyleBaseRendererAllow the subclass to customize the end external element content.
- Specified by:
endExternalElementin classScriptStyleBaseRenderer- Throws:
IOException
-
verifyTarget
protected String verifyTarget(String toVerify)
Description copied from class:ScriptStyleBaseRendererAllow a subclass to control what's a valid value for "target".
- Overrides:
verifyTargetin classScriptStyleBaseRenderer
-
-