Class MoveScriptsToBottomResponseWriter
java.lang.Object
java.io.Writer
javax.faces.context.ResponseWriter
javax.faces.context.ResponseWriterWrapper
org.primefaces.application.resource.MoveScriptsToBottomResponseWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
,javax.faces.FacesWrapper<javax.faces.context.ResponseWriter>
public class MoveScriptsToBottomResponseWriter
extends javax.faces.context.ResponseWriterWrapper
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMoveScriptsToBottomResponseWriter
(javax.faces.context.ResponseWriter wrapped, MoveScriptsToBottomState state) -
Method Summary
Modifier and TypeMethodDescriptionjavax.faces.context.ResponseWriter
cloneWithWriter
(Writer writer) void
endElement
(String name) javax.faces.context.ResponseWriter
protected boolean
protected String
mergeAndMinimizeInlineScripts
(String id, String type, List<String> inlines) void
startElement
(String name, javax.faces.component.UIComponent component) protected void
updateAttributes
(String name, String value) void
write
(char[] cbuf) void
write
(char[] cbuf, int off, int len) void
write
(int c) void
void
writeAttribute
(String name, Object value, String property) protected void
void
writeText
(char[] cbuf, int off, int len) void
void
void
writeURIAttribute
(String name, Object value, String property) Methods inherited from class javax.faces.context.ResponseWriterWrapper
close, endCDATA, endDocument, flush, getCharacterEncoding, getContentType, startCDATA, startDocument, writeComment, writeDoctype, writePreamble
-
Constructor Details
-
MoveScriptsToBottomResponseWriter
public MoveScriptsToBottomResponseWriter(javax.faces.context.ResponseWriter wrapped, MoveScriptsToBottomState state)
-
-
Method Details
-
getWrapped
public javax.faces.context.ResponseWriter getWrapped()- Specified by:
getWrapped
in interfacejavax.faces.FacesWrapper<javax.faces.context.ResponseWriter>
- Overrides:
getWrapped
in classjavax.faces.context.ResponseWriterWrapper
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
- Overrides:
write
in classjavax.faces.context.ResponseWriterWrapper
- Throws:
IOException
-
write
- Overrides:
write
in classWriter
- Throws:
IOException
-
writeText
- Overrides:
writeText
in classjavax.faces.context.ResponseWriterWrapper
- Throws:
IOException
-
writeText
- Overrides:
writeText
in classjavax.faces.context.ResponseWriterWrapper
- Throws:
IOException
-
writeText
public void writeText(Object text, javax.faces.component.UIComponent component, String property) throws IOException - Overrides:
writeText
in classjavax.faces.context.ResponseWriterWrapper
- Throws:
IOException
-
writeAttribute
- Overrides:
writeAttribute
in classjavax.faces.context.ResponseWriterWrapper
- Throws:
IOException
-
writeURIAttribute
- Overrides:
writeURIAttribute
in classjavax.faces.context.ResponseWriterWrapper
- Throws:
IOException
-
startElement
public void startElement(String name, javax.faces.component.UIComponent component) throws IOException - Overrides:
startElement
in classjavax.faces.context.ResponseWriterWrapper
- Throws:
IOException
-
endElement
- Overrides:
endElement
in classjavax.faces.context.ResponseWriterWrapper
- Throws:
IOException
-
writeFouc
- Throws:
IOException
-
mergeAndMinimizeInlineScripts
-
cloneWithWriter
- Overrides:
cloneWithWriter
in classjavax.faces.context.ResponseWriterWrapper
-
updateAttributes
-
isFirefox
protected boolean isFirefox()
-