Class ScriptRenderer
java.lang.Object
jakarta.faces.render.Renderer
com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer
com.sun.faces.renderkit.html_basic.ScriptRenderer
- All Implemented Interfaces:
ComponentSystemEventListener
,FacesListener
,EventListener
public class ScriptRenderer extends ScriptStyleBaseRenderer
This Renderer
handles the rendering of script
references.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ScriptRenderer()
-
Method Summary
Modifier and Type Method Description protected void
endExternalElement(ResponseWriter writer, UIComponent component, String resourceUrl)
Allow the subclass to customize the end external element content.protected void
endInlineElement(ResponseWriter writer, UIComponent component)
Allow the subclass to customize the end inline element content.protected void
startExternalElement(ResponseWriter writer, UIComponent component)
Allow the subclass to customize the start external element content.protected void
startInlineElement(ResponseWriter writer, UIComponent component)
Allow the subclass to customize the start inline element content.Methods inherited from class com.sun.faces.renderkit.html_basic.ScriptStyleBaseRenderer
decode, encodeBegin, encodeChildren, encodeEnd, getRendersChildren, processEvent, verifyTarget
-
Constructor Details
-
ScriptRenderer
public ScriptRenderer()
-
-
Method Details
-
startInlineElement
Description copied from class:ScriptStyleBaseRenderer
Allow the subclass to customize the start inline element content.
- Specified by:
startInlineElement
in classScriptStyleBaseRenderer
- Throws:
IOException
-
endInlineElement
Description copied from class:ScriptStyleBaseRenderer
Allow the subclass to customize the end inline element content.
- Specified by:
endInlineElement
in classScriptStyleBaseRenderer
- Throws:
IOException
-
startExternalElement
protected void startExternalElement(ResponseWriter writer, UIComponent component) throws IOExceptionDescription copied from class:ScriptStyleBaseRenderer
Allow the subclass to customize the start external element content.
- Specified by:
startExternalElement
in classScriptStyleBaseRenderer
- Throws:
IOException
-
endExternalElement
protected void endExternalElement(ResponseWriter writer, UIComponent component, String resourceUrl) throws IOExceptionDescription copied from class:ScriptStyleBaseRenderer
Allow the subclass to customize the end external element content.
- Specified by:
endExternalElement
in classScriptStyleBaseRenderer
- Throws:
IOException
-