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 writer,
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.
|
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 writer,
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 writer,
String name,
String value,
boolean escape) |
void |
writeClassAttribute()
Deprecated.
since Tobago 1.5.0
|
void |
writeComment(Object obj) |
protected void |
writeInternal(Writer writer,
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 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
protected void startElementInternal(Writer writer, String name, javax.faces.component.UIComponent currentComponent) throws IOException
IOException
public void endElement(String name) throws IOException
endElement
in class TobagoResponseWriter
IOException
public void writeComment(Object obj) throws IOException
writeComment
in class TobagoResponseWriter
IOException
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 javax.faces.context.ResponseWriter
IOException
public void writeAttribute(String name, String value, boolean escape) throws IOException
TobagoResponseWriter
writeAttribute
in class TobagoResponseWriter
IOException
@Deprecated public String getStyleClasses()
getStyleClasses
in class TobagoResponseWriter
@Deprecated public void writeClassAttribute() throws IOException
TobagoResponseWriter
writeClassAttribute
in class TobagoResponseWriter
IOException
protected void endElementInternal(Writer writer, String name) throws IOException
IOException
protected abstract void closeEmptyTag() throws IOException
IOException
protected void writeAttributeInternal(Writer writer, String name, String value, boolean escape) throws IOException
IOException
protected abstract void writerAttributeValue(String value, boolean escape) throws IOException
IOException
Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.