Class MoveScriptsToBottomResponseWriter

  • All Implemented Interfaces:
    Closeable, Flushable, Appendable, AutoCloseable, javax.faces.FacesWrapper<javax.faces.context.ResponseWriter>

    public class MoveScriptsToBottomResponseWriter
    extends javax.faces.context.ResponseWriterWrapper
    • Constructor Detail

      • MoveScriptsToBottomResponseWriter

        public MoveScriptsToBottomResponseWriter​(javax.faces.context.ResponseWriter wrapped,
                                                 MoveScriptsToBottomState state)
    • Method Detail

      • getWrapped

        public javax.faces.context.ResponseWriter getWrapped()
        Specified by:
        getWrapped in interface javax.faces.FacesWrapper<javax.faces.context.ResponseWriter>
        Overrides:
        getWrapped in class javax.faces.context.ResponseWriterWrapper
      • write

        public void write​(char[] cbuf,
                          int off,
                          int len)
                   throws IOException
        Overrides:
        write in class javax.faces.context.ResponseWriterWrapper
        Throws:
        IOException
      • writeText

        public void writeText​(char[] cbuf,
                              int off,
                              int len)
                       throws IOException
        Overrides:
        writeText in class javax.faces.context.ResponseWriterWrapper
        Throws:
        IOException
      • writeText

        public void writeText​(Object text,
                              String property)
                       throws IOException
        Overrides:
        writeText in class javax.faces.context.ResponseWriterWrapper
        Throws:
        IOException
      • writeText

        public void writeText​(Object text,
                              javax.faces.component.UIComponent component,
                              String property)
                       throws IOException
        Overrides:
        writeText in class javax.faces.context.ResponseWriterWrapper
        Throws:
        IOException
      • writeAttribute

        public void writeAttribute​(String name,
                                   Object value,
                                   String property)
                            throws IOException
        Overrides:
        writeAttribute in class javax.faces.context.ResponseWriterWrapper
        Throws:
        IOException
      • writeURIAttribute

        public void writeURIAttribute​(String name,
                                      Object value,
                                      String property)
                               throws IOException
        Overrides:
        writeURIAttribute in class javax.faces.context.ResponseWriterWrapper
        Throws:
        IOException
      • startElement

        public void startElement​(String name,
                                 javax.faces.component.UIComponent component)
                          throws IOException
        Overrides:
        startElement in class javax.faces.context.ResponseWriterWrapper
        Throws:
        IOException
      • endElement

        public void endElement​(String name)
                        throws IOException
        Overrides:
        endElement in class javax.faces.context.ResponseWriterWrapper
        Throws:
        IOException
      • cloneWithWriter

        public javax.faces.context.ResponseWriter cloneWithWriter​(Writer writer)
        Overrides:
        cloneWithWriter in class javax.faces.context.ResponseWriterWrapper
      • updateScriptSrcOrType

        protected void updateScriptSrcOrType​(String name,
                                             String value)