Top Description Fields Constructors Methods
com.sun.faces.renderkit.html_basic

public Class StylesheetRenderer

extends ScriptStyleBaseRenderer
Class Inheritance
Imports
java.io.IOException, com.sun.faces.renderkit.RenderKitUtils, jakarta.faces.component.UIComponent, jakarta.faces.context.FacesContext, .ResponseWriter

This Renderer handles the rendering of stylesheet references.

Field Summary

Modifier and TypeField and Description
public static final String
Inherited from com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer:
logger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
endExternalElement(ResponseWriter writer, UIComponent component, String resourceUrl)

Implements abstract com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer.endExternalElement.

Allow the subclass to customize the end external element content.

protected void
endInlineElement(ResponseWriter writer, UIComponent component)

Implements abstract com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer.endInlineElement.

Allow the subclass to customize the end inline element content.

protected void
startExternalElement(FacesContext context, ResponseWriter writer, UIComponent component)

Implements abstract com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer.startExternalElement.

Allow the subclass to customize the start external element content.

protected void
startInlineElement(FacesContext context, ResponseWriter writer, UIComponent component)

Implements abstract com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer.startInlineElement.

Allow the subclass to customize the start inline element content.

protected String
verifyTarget(String toVerify)

Overrides com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer.verifyTarget.

Allow a subclass to control what's a valid value for "target".

private void
Inherited from com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer:
decodeencodeBeginencodeChildrenencodeEndgetRendersChildrenprocessEvent

Field Detail

DEFAULT_CONTENT_TYPEback to summary
public static final String DEFAULT_CONTENT_TYPE

Constructor Detail

StylesheetRendererback to summary
public StylesheetRenderer()

Method Detail

endExternalElementback to summary
protected void endExternalElement(ResponseWriter writer, UIComponent component, String resourceUrl) throws IOException

Implements abstract com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer.endExternalElement.

Doc from com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer.endExternalElement.

Allow the subclass to customize the end external element content.

Annotations
@Override
endInlineElementback to summary
protected void endInlineElement(ResponseWriter writer, UIComponent component) throws IOException

Implements abstract com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer.endInlineElement.

Doc from com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer.endInlineElement.

Allow the subclass to customize the end inline element content.

Annotations
@Override
startExternalElementback to summary
protected void startExternalElement(FacesContext context, ResponseWriter writer, UIComponent component) throws IOException

Implements abstract com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer.startExternalElement.

Doc from com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer.startExternalElement.

Allow the subclass to customize the start external element content.

Annotations
@Override
startInlineElementback to summary
protected void startInlineElement(FacesContext context, ResponseWriter writer, UIComponent component) throws IOException

Implements abstract com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer.startInlineElement.

Doc from com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer.startInlineElement.

Allow the subclass to customize the start inline element content.

Annotations
@Override
verifyTargetback to summary
protected String verifyTarget(String toVerify)

Overrides com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer.verifyTarget.

Doc from com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer.verifyTarget.

Allow a subclass to control what's a valid value for "target".

Annotations
@Override
writeTypeAttributeIfNecessaryback to summary
private void writeTypeAttributeIfNecessary(FacesContext context, ResponseWriter writer) throws IOException