Class WriterHelper
java.lang.Object
org.apache.myfaces.tobago.internal.util.WriterHelper
- Direct Known Subclasses:
- HtmlWriterHelper
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final char[]protected static final char[][]
- 
Constructor SummaryConstructorsConstructorDescriptionWriterHelper(Writer out, String characterEncoding) Deprecated.since 4.3.0WriterHelper(Writer out, Charset charset) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected final ResponseWriterBufferprotected final WritergetOut()protected final booleanisUtf8()voidwriteAttributeValue(String text) protected voidwriteDecRef(char ch) Writes a character as a decimal escape.protected abstract voidwriteEncodedValue(char[] text, int start, int length, boolean isAttribute) voidwriteText(char[] text, int start, int length) void
- 
Field Details- 
EMPTYprotected static final char[] EMPTY
- 
ISO8859_1_ENTITIESprotected static final char[][] ISO8859_1_ENTITIES
 
- 
- 
Constructor Details- 
WriterHelperDeprecated.since 4.3.0
- 
WriterHelper
 
- 
- 
Method Details- 
writeAttributeValue- Throws:
- IOException
 
- 
writeText- Throws:
- IOException
 
- 
writeText- Throws:
- IOException
 
- 
writeEncodedValueprotected abstract void writeEncodedValue(char[] text, int start, int length, boolean isAttribute) throws IOException - Throws:
- IOException
 
- 
writeDecRefWrites a character as a decimal escape. Hex escapes are smaller than the decimal version, but Netscape didn't support hex escapes until 4.7.4.- Throws:
- IOException
 
- 
getOut
- 
getBuffer
- 
isUtf8protected final boolean isUtf8()
 
-