com.liferay.faces.bridge.renderkit.html_basic
Class HeadResponseWriter

java.lang.Object
  extended by java.io.Writer
      extended by javax.faces.context.ResponseWriter
          extended by javax.faces.context.ResponseWriterWrapper
              extended by com.liferay.faces.bridge.renderkit.html_basic.HeadResponseWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, javax.faces.FacesWrapper<javax.faces.context.ResponseWriter>
Direct Known Subclasses:
HeadResponseWriterImpl, HeadResponseWriterLiferayImpl

public abstract class HeadResponseWriter
extends javax.faces.context.ResponseWriterWrapper

Author:
Neil Griffin

Field Summary
static String ELEMENT_HEAD
           
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
HeadResponseWriter(javax.faces.context.ResponseWriter wrappedResponseWriter)
           
 
Method Summary
 Writer append(char c)
           
 Writer append(CharSequence csq)
           
 Writer append(CharSequence csq, int start, int end)
           
 void close()
           
abstract  Element createElement(String name)
           
 void endCDATA()
           
 void endDocument()
           
 void flush()
           
 javax.faces.context.ResponseWriter getWrapped()
           
 void startCDATA()
           
 void startDocument()
           
 void write(char[] cbuf)
           
 void write(char[] cbuf, int off, int len)
           
 void write(int c)
           
 void write(String str)
           
 void write(String str, int off, int len)
           
 void writeAttribute(String name, Object value, String property)
           
 void writeComment(Object comment)
           
 void writeText(char[] text, int off, int len)
           
 void writeText(Object text, String property)
           
 void writeText(Object text, javax.faces.component.UIComponent component, String property)
           
 void writeURIAttribute(String name, Object value, String property)
           
 
Methods inherited from class javax.faces.context.ResponseWriterWrapper
cloneWithWriter, endElement, getCharacterEncoding, getContentType, startElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEMENT_HEAD

public static final String ELEMENT_HEAD
See Also:
Constant Field Values
Constructor Detail

HeadResponseWriter

public HeadResponseWriter(javax.faces.context.ResponseWriter wrappedResponseWriter)
Method Detail

createElement

public abstract Element createElement(String name)

append

public Writer append(CharSequence csq)
              throws IOException
Specified by:
append in interface Appendable
Overrides:
append in class Writer
Throws:
IOException

append

public Writer append(char c)
              throws IOException
Specified by:
append in interface Appendable
Overrides:
append in class Writer
Throws:
IOException

append

public Writer append(CharSequence csq,
                     int start,
                     int end)
              throws IOException
Specified by:
append in interface Appendable
Overrides:
append in class Writer
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class javax.faces.context.ResponseWriterWrapper
Throws:
IOException

endCDATA

public void endCDATA()
              throws IOException
Overrides:
endCDATA in class javax.faces.context.ResponseWriterWrapper
Throws:
IOException

endDocument

public void endDocument()
                 throws IOException
Overrides:
endDocument in class javax.faces.context.ResponseWriterWrapper
Throws:
IOException

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Overrides:
flush in class javax.faces.context.ResponseWriterWrapper
Throws:
IOException

startCDATA

public void startCDATA()
                throws IOException
Overrides:
startCDATA in class javax.faces.context.ResponseWriterWrapper
Throws:
IOException

startDocument

public void startDocument()
                   throws IOException
Overrides:
startDocument in class javax.faces.context.ResponseWriterWrapper
Throws:
IOException

write

public void write(int c)
           throws IOException
Overrides:
write in class Writer
Throws:
IOException

write

public void write(char[] cbuf)
           throws IOException
Overrides:
write in class Writer
Throws:
IOException

write

public void write(String str)
           throws IOException
Overrides:
write in class Writer
Throws:
IOException

write

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

write

public void write(String str,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class Writer
Throws:
IOException

writeAttribute

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

writeComment

public void writeComment(Object comment)
                  throws IOException
Overrides:
writeComment 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

writeText

public void writeText(char[] text,
                      int off,
                      int len)
               throws IOException
Overrides:
writeText 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

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


Copyright © 2014 Liferay, Inc.. All Rights Reserved.