|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MarkupFilter
Filter used with MarkupWriterImplto determine how to convert
the output into a format compatible with the content type. Typically, this means translating
certain characters into escape codes (for example, in HTML, convert '<' to '<'.
Implementations should be stateless and thread safe.
| Method Summary | |
|---|---|
void |
print(java.io.PrintWriter writer,
char[] data,
int offset,
int length,
boolean escapeQuotes)
Print the value to the writer, escaping characters as necessary. |
| Method Detail |
|---|
void print(java.io.PrintWriter writer,
char[] data,
int offset,
int length,
boolean escapeQuotes)
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||