public class InlineScriptRenderer extends InlineResourceRenderer
CombinedResourceHandler
CombinedResourceHandler
Modifier and Type | Field and Description |
---|---|
static String |
RENDERER_TYPE
The standard renderer type.
|
PASSTHROUGH_RENDERER_LOCALNAME_KEY
Constructor and Description |
---|
InlineScriptRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
endElement(ResponseWriter writer)
End the element.
|
void |
startElement(ResponseWriter writer,
UIComponent component)
Start the element.
|
void |
writeResource(Reader reader,
ResponseWriter writer)
Write the resource inline.
|
encodeChildren, getRendersChildren
convertClientId, decode, encodeBegin, encodeEnd, getConvertedValue
public static final String RENDERER_TYPE
public void startElement(ResponseWriter writer, UIComponent component) throws IOException
InlineResourceRenderer
startElement
in class InlineResourceRenderer
writer
- The response writer.component
- The UIComponent
to which this element corresponds.IOException
- When an I/O error occurs.public void writeResource(Reader reader, ResponseWriter writer) throws IOException
InlineResourceRenderer
writeResource
in class InlineResourceRenderer
reader
- The reader providing the resource content.writer
- The response writer where the resource content has to be written to.IOException
- When an I/O error occurs.public void endElement(ResponseWriter writer) throws IOException
InlineResourceRenderer
endElement
in class InlineResourceRenderer
writer
- The response writer.IOException
- When an I/O error occurs.Copyright © 2012–2020 OmniFaces. All rights reserved.