public class BodyScriptEncodingResponseWriter
extends javax.faces.context.ResponseWriterWrapper
FacesRequestContext scripts before the closing <body> tag in a single
<script> tag. All other functionality is delegated to the wrapped ResponseWriter, so all other content
will be rendered normally.| Constructor and Description |
|---|
BodyScriptEncodingResponseWriter(javax.faces.context.ResponseWriter wrappedResponseWriter,
javax.faces.context.FacesContext facesContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
endElement(String name) |
javax.faces.context.ResponseWriter |
getWrapped() |
void |
startElement(String name,
javax.faces.component.UIComponent uiComponent) |
void |
write(char[] cbuf,
int off,
int len) |
void |
writeAttribute(String name,
Object value,
String property) |
void |
writeText(char[] cbuf,
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) |
public BodyScriptEncodingResponseWriter(javax.faces.context.ResponseWriter wrappedResponseWriter,
javax.faces.context.FacesContext facesContext)
public void endElement(String name) throws IOException
endElement in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic javax.faces.context.ResponseWriter getWrapped()
getWrapped in interface javax.faces.FacesWrapper<javax.faces.context.ResponseWriter>getWrapped in class javax.faces.context.ResponseWriterWrapperpublic void startElement(String name, javax.faces.component.UIComponent uiComponent) throws IOException
startElement in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic void write(char[] cbuf,
int off,
int len)
throws IOException
write in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic void writeAttribute(String name, Object value, String property) throws IOException
writeAttribute in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic void writeText(Object text, String property) throws IOException
writeText in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic void writeText(char[] cbuf,
int off,
int len)
throws IOException
writeText in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic void writeText(Object text, javax.faces.component.UIComponent component, String property) throws IOException
writeText in class javax.faces.context.ResponseWriterWrapperIOExceptionpublic void writeURIAttribute(String name, Object value, String property) throws IOException
writeURIAttribute in class javax.faces.context.ResponseWriterWrapperIOExceptionCopyright © 2016 Liferay, Inc.. All rights reserved.