Class WriterHelper
java.lang.Object
org.apache.myfaces.tobago.internal.util.WriterHelper
- Direct Known Subclasses:
HtmlWriterHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final char[]
protected static final char[][]
-
Constructor Summary
ConstructorsConstructorDescriptionWriterHelper
(Writer out, String characterEncoding) Deprecated.since 4.3.0WriterHelper
(Writer out, Charset charset) -
Method Summary
Modifier and TypeMethodDescriptionprotected final ResponseWriterBuffer
protected final Writer
getOut()
protected final boolean
isUtf8()
void
writeAttributeValue
(String text) protected void
writeDecRef
(char ch) Writes a character as a decimal escape.protected abstract void
writeEncodedValue
(char[] text, int start, int length, boolean isAttribute) void
writeText
(char[] text, int start, int length) void
-
Field Details
-
EMPTY
protected static final char[] EMPTY -
ISO8859_1_ENTITIES
protected static final char[][] ISO8859_1_ENTITIES
-
-
Constructor Details
-
WriterHelper
Deprecated.since 4.3.0 -
WriterHelper
-
-
Method Details
-
writeAttributeValue
- Throws:
IOException
-
writeText
- Throws:
IOException
-
writeText
- Throws:
IOException
-
writeEncodedValue
protected abstract void writeEncodedValue(char[] text, int start, int length, boolean isAttribute) throws IOException - Throws:
IOException
-
writeDecRef
Writes 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
-
isUtf8
protected final boolean isUtf8()
-