TODO: write out fragments only once we've detected the
ID, to avoid sending unnecessary fragments
| Fields inherited from class java.io.Writer |
lock |
|
Constructor Summary |
PPRResponseWriter(javax.faces.context.ResponseWriter out,
org.apache.myfaces.trinidad.context.RenderingContext rc,
boolean bufferScripts)
|
|
Method Summary |
javax.faces.context.ResponseWriter |
cloneWithWriter(java.io.Writer writer)
|
void |
endCDATA()
|
void |
endDocument()
|
void |
endElement(java.lang.String name)
|
protected javax.faces.context.ResponseWriter |
getXmlResponseWriter()
|
void |
startCDATA()
|
void |
startDocument()
|
void |
startElement(java.lang.String name,
javax.faces.component.UIComponent component)
|
void |
write(char[] c)
|
void |
write(char[] text,
int start,
int length)
|
void |
write(int ch)
|
void |
write(java.lang.String text)
|
void |
write(java.lang.String text,
int off,
int len)
|
void |
writeAttribute(java.lang.String name,
java.lang.Object value,
java.lang.String property)
|
protected void |
writeBufferedScripts()
|
void |
writeComment(java.lang.Object text)
|
protected void |
writeFrameworkScripts()
|
void |
writeText(char[] text,
int start,
int length)
|
void |
writeText(java.lang.Object text,
java.lang.String property)
|
void |
writeText(java.lang.Object text,
javax.faces.component.UIComponent component,
java.lang.String propertyName)
|
void |
writeURIAttribute(java.lang.String name,
java.lang.Object value,
java.lang.String property)
|
void |
writeViewState(java.lang.String state)
|
| Methods inherited from class javax.faces.context.ResponseWriterWrapper |
close, flush, getCharacterEncoding, getContentType |
| Methods inherited from class java.io.Writer |
append, append, append |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PPRResponseWriter
public PPRResponseWriter(javax.faces.context.ResponseWriter out,
org.apache.myfaces.trinidad.context.RenderingContext rc,
boolean bufferScripts)
cloneWithWriter
public javax.faces.context.ResponseWriter cloneWithWriter(java.io.Writer writer)
- Overrides:
cloneWithWriter in class ScriptBufferingResponseWriter
startDocument
public void startDocument()
throws java.io.IOException
- Overrides:
startDocument in class javax.faces.context.ResponseWriterWrapper
- Throws:
java.io.IOException
endDocument
public void endDocument()
throws java.io.IOException
- Overrides:
endDocument in class javax.faces.context.ResponseWriterWrapper
- Throws:
java.io.IOException
writeComment
public void writeComment(java.lang.Object text)
throws java.io.IOException
- Overrides:
writeComment in class ScriptBufferingResponseWriter
- Throws:
java.io.IOException
writeText
public void writeText(java.lang.Object text,
java.lang.String property)
throws java.io.IOException
- Overrides:
writeText in class ScriptBufferingResponseWriter
- Throws:
java.io.IOException
writeText
public void writeText(char[] text,
int start,
int length)
throws java.io.IOException
- Overrides:
writeText in class ScriptBufferingResponseWriter
- Throws:
java.io.IOException
write
public void write(java.lang.String text)
throws java.io.IOException
- Overrides:
write in class ScriptBufferingResponseWriter
- Throws:
java.io.IOException
write
public void write(char[] text,
int start,
int length)
throws java.io.IOException
- Overrides:
write in class ScriptBufferingResponseWriter
- Throws:
java.io.IOException
write
public void write(int ch)
throws java.io.IOException
- Overrides:
write in class ScriptBufferingResponseWriter
- Throws:
java.io.IOException
write
public void write(char[] c)
throws java.io.IOException
- Overrides:
write in class ScriptBufferingResponseWriter
- Throws:
java.io.IOException
write
public void write(java.lang.String text,
int off,
int len)
throws java.io.IOException
- Overrides:
write in class ScriptBufferingResponseWriter
- Throws:
java.io.IOException
writeText
public void writeText(java.lang.Object text,
javax.faces.component.UIComponent component,
java.lang.String propertyName)
throws java.io.IOException
- Overrides:
writeText in class javax.faces.context.ResponseWriterWrapper
- Throws:
java.io.IOException
startElement
public void startElement(java.lang.String name,
javax.faces.component.UIComponent component)
throws java.io.IOException
- Overrides:
startElement in class ScriptBufferingResponseWriter
- Throws:
java.io.IOException
endElement
public void endElement(java.lang.String name)
throws java.io.IOException
- Overrides:
endElement in class ScriptBufferingResponseWriter
- Throws:
java.io.IOException
writeAttribute
public void writeAttribute(java.lang.String name,
java.lang.Object value,
java.lang.String property)
throws java.io.IOException
- Overrides:
writeAttribute in class ScriptBufferingResponseWriter
- Throws:
java.io.IOException
writeURIAttribute
public void writeURIAttribute(java.lang.String name,
java.lang.Object value,
java.lang.String property)
throws java.io.IOException
- Overrides:
writeURIAttribute in class ScriptBufferingResponseWriter
- Throws:
java.io.IOException
writeViewState
public void writeViewState(java.lang.String state)
throws java.io.IOException
- Throws:
java.io.IOException
getXmlResponseWriter
protected javax.faces.context.ResponseWriter getXmlResponseWriter()
writeBufferedScripts
protected void writeBufferedScripts()
throws java.io.IOException
- Throws:
java.io.IOException
writeFrameworkScripts
protected void writeFrameworkScripts()
throws java.io.IOException
- Throws:
java.io.IOException
startCDATA
public void startCDATA()
throws java.io.IOException
- Overrides:
startCDATA in class javax.faces.context.ResponseWriterWrapper
- Throws:
java.io.IOException
endCDATA
public void endCDATA()
throws java.io.IOException
- Overrides:
endCDATA in class javax.faces.context.ResponseWriterWrapper
- Throws:
java.io.IOException
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.