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,
Charset charset) |
protected |
TobagoResponseWriterBase(Writer writer,
String contentType,
String characterEncoding)
Deprecated.
since 4.3.0
|
| 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 sink,
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 sink,
String name,
boolean inline) |
void |
write(char[] chars) |
void |
write(char[] cbuf,
int off,
int len) |
void |
write(int j) |
void |
write(String string) |
void |
write(String string,
int j,
int k) |
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.
since 3.0.0
|
protected void |
writeAttributeInternal(Writer sink,
MarkupLanguageAttributes name,
String value,
boolean escape) |
void |
writeComment(Object obj) |
protected void |
writeInternal(Writer sink,
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, getContentTypeWithCharSet, startCDATA, writeAttribute, writeAttribute, writeClassAttribute, writeClassAttribute, writeClassAttribute, writeClassAttribute, writeClassAttribute, writeCommandMapAttribute, writeIcon, writeIdAttribute, writeNameAttribute, writeStyleAttribute, writeText, writeTextprotected static final String XML_VERSION_1_0_ENCODING_UTF_8
protected static final char[] XML_VERSION_1_0_ENCODING_UTF_8_CHARS
@Deprecated protected TobagoResponseWriterBase(Writer writer, String contentType, String characterEncoding)
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 WriterIOExceptionpublic void write(String string) throws IOException
write in class TobagoResponseWriterIOExceptionprotected final void writeInternal(Writer sink, String string) throws IOException
IOExceptionpublic void write(int j)
throws IOException
write in class WriterIOExceptionpublic void write(char[] chars)
throws IOException
write in class WriterIOExceptionpublic void write(String string, int j, int k) throws IOException
write in class WriterIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class TobagoResponseWriterIOExceptionprotected void closeOpenTag()
throws IOException
IOExceptionpublic void startDocument()
throws IOException
startDocument in class javax.faces.context.ResponseWriterIOExceptionpublic void endDocument()
throws IOException
endDocument in class javax.faces.context.ResponseWriterIOExceptionpublic String getContentType()
getContentType in class javax.faces.context.ResponseWriterpublic String getCharacterEncoding()
getCharacterEncoding in class javax.faces.context.ResponseWriterpublic void startElement(String name, javax.faces.component.UIComponent currentComponent) throws IOException
startElement in class TobagoResponseWriterIOExceptionpublic void startElement(HtmlElements name) throws IOException
startElement in class TobagoResponseWriterIOExceptionprotected void startElementInternal(Writer sink, String name, boolean inline) throws IOException
IOExceptionpublic void endElement(String name) throws IOException
endElement in class TobagoResponseWriterIOExceptionpublic void endElement(HtmlElements name) throws IOException
endElement in class TobagoResponseWriterIOExceptionpublic void writeComment(Object obj) throws IOException
writeComment in class TobagoResponseWriterIOException@Deprecated public void writeAttribute(String name, Object value, String property) throws IOException
writeAttribute in class TobagoResponseWriterIOExceptionprotected final String getCallingClassStackTraceElementString()
public void writeURIAttribute(String name, Object value, String property) throws IOException
writeURIAttribute in class TobagoResponseWriterIOExceptionpublic void writeAttribute(MarkupLanguageAttributes name, String value, boolean escape) throws IOException
TobagoResponseWriterwriteAttribute in class TobagoResponseWriterIOExceptionpublic void writeAttribute(MarkupLanguageAttributes name, HtmlTypes types) throws IOException
writeAttribute in class TobagoResponseWriterIOExceptionpublic void writeURIAttribute(MarkupLanguageAttributes name, String value) throws IOException
TobagoResponseWriterwriteURIAttribute in class TobagoResponseWriterIOExceptionprotected void endElementInternal(Writer sink, String name, boolean inline) throws IOException
IOExceptionprotected abstract void closeEmptyTag()
throws IOException
IOExceptionprotected void writeAttributeInternal(Writer sink, MarkupLanguageAttributes name, String value, boolean escape) throws IOException
IOExceptionprotected abstract void writerAttributeValue(String value, boolean escape) throws IOException
IOExceptionCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.