ISO88591Escaper, USASCIIEscaper, UTF8Escaperpublic interface ICharacterEscaper
| Modifier and Type | Method | Description |
|---|---|---|
void |
writeAttribute(java.lang.String text,
java.io.Writer writer) |
Write attribute value with character entity substitutions.
|
void |
writeCData(java.lang.String text,
java.io.Writer writer) |
Write CDATA to document.
|
void |
writeContent(java.lang.String text,
java.io.Writer writer) |
Write content value with character entity substitutions.
|
void writeAttribute(java.lang.String text,
java.io.Writer writer)
throws java.io.IOException
text - attribute value textwriter - sink for output textjava.io.IOException - on error writing to documentvoid writeContent(java.lang.String text,
java.io.Writer writer)
throws java.io.IOException
text - content value textwriter - sink for output textjava.io.IOException - on error writing to documentvoid writeCData(java.lang.String text,
java.io.Writer writer)
throws java.io.IOException
text - content value textwriter - sink for output textjava.io.IOException - on error writing to document