public abstract class TobagoResponseWriterBase extends TobagoResponseWriter
| Modifier and Type | Field and Description |
|---|---|
protected static Set<String> |
EMPTY_TAG |
static String |
XML_VERSION_1_0_ENCODING_UTF_8
Deprecated.
Since Tobago 1.5.3
|
protected static char[] |
XML_VERSION_1_0_ENCODING_UTF_8_CHARS |
static int |
XML_VERSION_1_0_ENCODING_UTF_8_LENGTH
Deprecated.
Since Tobago 1.5.3
|
| 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(String name) |
protected void |
endElementInternal(Writer writerParameter,
String name) |
protected String |
findValue(Object value,
String property) |
void |
flush() |
protected String |
getCallingClassStackTraceElementString() |
String |
getCharacterEncoding() |
protected javax.faces.component.UIComponent |
getComponent() |
String |
getContentType() |
String |
getStyleClasses()
Deprecated.
Since Tobago 2.0.0
|
protected Writer |
getWriter() |
protected boolean |
isStartStillOpen() |
protected void |
setComponent(javax.faces.component.UIComponent component) |
protected void |
setStartStillOpen(boolean startStillOpen) |
void |
startDocument() |
void |
startElement(String name,
javax.faces.component.UIComponent currentComponent) |
protected void |
startElementInternal(Writer writerParameter,
String name,
javax.faces.component.UIComponent currentComponent) |
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(String name,
Object value,
String property) |
void |
writeAttribute(String name,
String value,
boolean escape)
Writes a string attribute.
|
protected void |
writeAttributeInternal(Writer writerParameter,
String name,
String value,
boolean escape) |
void |
writeClassAttribute()
Deprecated.
since Tobago 1.5.0
|
void |
writeComment(Object obj) |
protected void |
writeInternal(Writer writerParameter,
String string) |
protected abstract void |
writerAttributeValue(String value,
boolean escape) |
void |
writeURIAttribute(String name,
Object value,
String property) |
cloneWithWriter, endJavascript, getContentTypeWithCharSet, startElement, startJavascript, writeAttribute, writeAttribute, writeAttributeFromComponent, writeClassAttribute, writeClassAttribute, writeIdAttribute, writeJavascript, writeNameAttribute, writeStyleAttribute, writeStyleAttribute, writeText, writeText, writeTextFromComponent@Deprecated public static final String XML_VERSION_1_0_ENCODING_UTF_8
@Deprecated public static final int XML_VERSION_1_0_ENCODING_UTF_8_LENGTH
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 WriterIOExceptionpublic void write(String string) throws IOException
write in class TobagoResponseWriterIOExceptionprotected final void writeInternal(Writer writerParameter, String string) throws IOException
IOExceptionpublic void write(int i)
throws IOException
write in class WriterIOExceptionpublic void write(char[] chars)
throws IOException
write in class WriterIOExceptionpublic void write(String string, int i, int i1) 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 TobagoResponseWriterIOExceptionprotected void startElementInternal(Writer writerParameter, String name, javax.faces.component.UIComponent currentComponent) throws IOException
IOExceptionpublic void endElement(String name) throws IOException
endElement in class TobagoResponseWriterIOExceptionpublic void writeComment(Object obj) throws IOException
writeComment in class TobagoResponseWriterIOExceptionpublic 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 javax.faces.context.ResponseWriterIOExceptionpublic void writeAttribute(String name, String value, boolean escape) throws IOException
TobagoResponseWriterwriteAttribute in class TobagoResponseWriterIOException@Deprecated public String getStyleClasses()
getStyleClasses in class TobagoResponseWriter@Deprecated public void writeClassAttribute() throws IOException
TobagoResponseWriterwriteClassAttribute in class TobagoResponseWriterIOExceptionprotected void endElementInternal(Writer writerParameter, String name) throws IOException
IOExceptionprotected abstract void closeEmptyTag()
throws IOException
IOExceptionprotected void writeAttributeInternal(Writer writerParameter, String name, String value, boolean escape) throws IOException
IOExceptionprotected abstract void writerAttributeValue(String value, boolean escape) throws IOException
IOExceptionCopyright © 2002–2024 The Apache Software Foundation. All rights reserved.