public class HTML4Encoder extends AbstractCharReplacementEncoder
This encoder is for HTML4 documents. It uses escaping information from Spring's HtmlUtils so that this is compatible with the previous "encodeAsHTML" in older Grails versions.
Fields inherited from class | Fields |
---|---|
class AbstractCharReplacementEncoder |
codecIdentifier |
Constructor and description |
---|
HTML4Encoder
() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected java.lang.String |
escapeCharacter(char ch, char previousChar) |
Methods inherited from class | Name |
---|---|
class AbstractCharReplacementEncoder |
convertToString, createChainingEncodesToWriter, doCharReplacementEncoding, encode, encodeToStream, encodeToWriter, encodeToWriter, escapeCharSequence, escapeCharacter, getCodecIdentifier, isApplyToSafelyEncoded, isSafe, markEncoded |