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 | Name and description |
---|---|
protected java.lang.String |
escapeCharacter(char ch, char previousChar) |
Methods inherited from class | Name |
---|---|
class AbstractCharReplacementEncoder |
convertToString, doCharReplacementEncoding, encode, encodeToStream, encodeToWriter, escapeCharSequence, escapeCharacter, getCodecIdentifier, isApplyToSafelyEncoded, isSafe, markEncoded |