public class AbstractMarkupFilter extends java.lang.Object implements MarkupFilter
ICharacterTranslator
.Modifier | Constructor and Description |
---|---|
protected |
AbstractMarkupFilter(ICharacterTranslator translator) |
Modifier and Type | Method and Description |
---|---|
void |
print(java.io.PrintWriter writer,
char[] data,
int offset,
int length,
boolean escapeQuotes)
Print the value to the writer, escaping characters as necessary.
|
protected AbstractMarkupFilter(ICharacterTranslator translator)
public void print(java.io.PrintWriter writer, char[] data, int offset, int length, boolean escapeQuotes)
MarkupFilter
print
in interface MarkupFilter
writer
- the write to which converted content should be outputdata
- a character array containing the characters to be outputoffset
- the offset within the array to begin outputlength
- the number of characters to outputescapeQuotes
- if true, the value is being rendered as an attribute value and double quotes
within the value should be escaped. If false, then then double quotes may pass
through unchanged.