public abstract class TobagoResponseWriterBase extends TobagoResponseWriter
Modifier and Type | Field and Description |
---|---|
protected static String |
XML_VERSION_1_0_ENCODING_UTF_8 |
protected static char[] |
XML_VERSION_1_0_ENCODING_UTF_8_CHARS |
Modifier | Constructor and Description |
---|---|
protected |
TobagoResponseWriterBase(Writer writer,
String contentType,
String characterEncoding) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected abstract void |
closeEmptyTag() |
protected void |
closeOpenTag() |
void |
endDocument() |
void |
endElement(HtmlElements name) |
void |
endElement(String name) |
protected void |
endElementInternal(Writer writer,
String name,
boolean inline) |
protected String |
findValue(Object value,
String property) |
void |
flush() |
protected String |
getCallingClassStackTraceElementString() |
String |
getCharacterEncoding() |
protected javax.faces.component.UIComponent |
getComponent() |
String |
getContentType() |
protected Writer |
getWriter() |
protected boolean |
isStartStillOpen() |
protected void |
setComponent(javax.faces.component.UIComponent component) |
protected void |
setStartStillOpen(boolean startStillOpen) |
void |
startDocument() |
void |
startElement(HtmlElements name) |
void |
startElement(String name,
javax.faces.component.UIComponent currentComponent) |
protected void |
startElementInternal(Writer writer,
String name,
boolean inline) |
void |
write(char[] chars) |
void |
write(char[] cbuf,
int off,
int len) |
void |
write(int i) |
void |
write(String string) |
void |
write(String string,
int i,
int i1) |
void |
writeAttribute(MarkupLanguageAttributes name,
HtmlTypes types) |
void |
writeAttribute(MarkupLanguageAttributes name,
String value,
boolean escape)
Writes a string attribute.
|
void |
writeAttribute(String name,
Object value,
String property)
Deprecated.
|
protected void |
writeAttributeInternal(Writer writer,
MarkupLanguageAttributes name,
String value,
boolean escape) |
void |
writeComment(Object obj) |
protected void |
writeInternal(Writer writer,
String string) |
protected abstract void |
writerAttributeValue(String value,
boolean escape) |
void |
writeURIAttribute(MarkupLanguageAttributes name,
String value)
Writes a string attribute URL encoded.
|
void |
writeURIAttribute(String name,
Object value,
String property) |
cloneWithWriter, endCDATA, endJavascript, getContentTypeWithCharSet, startCDATA, startJavascript, writeAttribute, writeAttribute, writeClassAttribute, writeClassAttribute, writeClassAttribute, writeIcon, writeIcon, writeIdAttribute, writeJavascript, writeNameAttribute, writeStyleAttribute, writeStyleAttribute, writeText, writeText
protected static final String XML_VERSION_1_0_ENCODING_UTF_8
protected static final char[] XML_VERSION_1_0_ENCODING_UTF_8_CHARS
protected final Writer getWriter()
protected final javax.faces.component.UIComponent getComponent()
protected final void setComponent(javax.faces.component.UIComponent component)
protected final boolean isStartStillOpen()
protected final void setStartStillOpen(boolean startStillOpen)
public void write(char[] cbuf, int off, int len) throws IOException
write
in class Writer
IOException
public void write(String string) throws IOException
write
in class TobagoResponseWriter
IOException
protected final void writeInternal(Writer writer, String string) throws IOException
IOException
public void write(int i) throws IOException
write
in class Writer
IOException
public void write(char[] chars) throws IOException
write
in class Writer
IOException
public void write(String string, int i, int i1) throws IOException
write
in class Writer
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Writer
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class TobagoResponseWriter
IOException
protected void closeOpenTag() throws IOException
IOException
public void startDocument() throws IOException
startDocument
in class javax.faces.context.ResponseWriter
IOException
public void endDocument() throws IOException
endDocument
in class javax.faces.context.ResponseWriter
IOException
public String getContentType()
getContentType
in class javax.faces.context.ResponseWriter
public String getCharacterEncoding()
getCharacterEncoding
in class javax.faces.context.ResponseWriter
public void startElement(String name, javax.faces.component.UIComponent currentComponent) throws IOException
startElement
in class TobagoResponseWriter
IOException
public void startElement(HtmlElements name) throws IOException
startElement
in class TobagoResponseWriter
IOException
protected void startElementInternal(Writer writer, String name, boolean inline) throws IOException
IOException
public void endElement(String name) throws IOException
endElement
in class TobagoResponseWriter
IOException
public void endElement(HtmlElements name) throws IOException
endElement
in class TobagoResponseWriter
IOException
public void writeComment(Object obj) throws IOException
writeComment
in class TobagoResponseWriter
IOException
@Deprecated public void writeAttribute(String name, Object value, String property) throws IOException
writeAttribute
in class TobagoResponseWriter
IOException
protected final String getCallingClassStackTraceElementString()
public void writeURIAttribute(String name, Object value, String property) throws IOException
writeURIAttribute
in class TobagoResponseWriter
IOException
public void writeAttribute(MarkupLanguageAttributes name, String value, boolean escape) throws IOException
TobagoResponseWriter
writeAttribute
in class TobagoResponseWriter
IOException
public void writeAttribute(MarkupLanguageAttributes name, HtmlTypes types) throws IOException
writeAttribute
in class TobagoResponseWriter
IOException
public void writeURIAttribute(MarkupLanguageAttributes name, String value) throws IOException
TobagoResponseWriter
writeURIAttribute
in class TobagoResponseWriter
IOException
protected void endElementInternal(Writer writer, String name, boolean inline) throws IOException
IOException
protected abstract void closeEmptyTag() throws IOException
IOException
protected void writeAttributeInternal(Writer writer, MarkupLanguageAttributes name, String value, boolean escape) throws IOException
IOException
protected abstract void writerAttributeValue(String value, boolean escape) throws IOException
IOException
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.