Package org.grails.encoder.impl
Class HTML4Decoder
- java.lang.Object
-
- org.grails.encoder.impl.HTML4Decoder
-
- All Implemented Interfaces:
CodecIdentifierProvider,Decoder
public class HTML4Decoder extends java.lang.Object implements Decoder
HTML4 decoder that uses Spring's HtmlUtils.htmlUnescape to do the unescaping.- Since:
- 2.3
-
-
Constructor Summary
Constructors Constructor Description HTML4Decoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectdecode(java.lang.Object o)Decode given input objectCodecIdentifiergetCodecIdentifier()Gets the codec identifier information.
-
-
-
Method Detail
-
decode
public java.lang.Object decode(java.lang.Object o)
Description copied from interface:DecoderDecode given input object
-
getCodecIdentifier
public CodecIdentifier getCodecIdentifier()
Description copied from interface:CodecIdentifierProviderGets the codec identifier information.- Specified by:
getCodecIdentifierin interfaceCodecIdentifierProvider- Returns:
- the codec identifier information
-
-