HtmlWriterHelper
public abstract class WriterHelper
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected static char[] |
EMPTY |
|
protected static char[][] |
ISO8859_1_ENTITIES |
Constructor | Description |
---|---|
WriterHelper(java.io.Writer out,
java.lang.String characterEncoding) |
Modifier and Type | Method | Description |
---|---|---|
protected ResponseWriterBuffer |
getBuffer() |
|
protected java.io.Writer |
getOut() |
|
protected boolean |
isUtf8() |
|
void |
writeAttributeValue(java.lang.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 |
writeText(java.lang.String text) |
protected static final char[] EMPTY
protected static final char[][] ISO8859_1_ENTITIES
public WriterHelper(java.io.Writer out, java.lang.String characterEncoding)
public void writeAttributeValue(java.lang.String text) throws java.io.IOException
java.io.IOException
public void writeText(java.lang.String text) throws java.io.IOException
java.io.IOException
public void writeText(char[] text, int start, int length) throws java.io.IOException
java.io.IOException
protected abstract void writeEncodedValue(char[] text, int start, int length, boolean isAttribute) throws java.io.IOException
java.io.IOException
protected void writeDecRef(char ch) throws java.io.IOException
java.io.IOException
protected final java.io.Writer getOut()
protected final ResponseWriterBuffer getBuffer()
protected final boolean isUtf8()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.