Package org.grails.encoder.impl
Class HTMLJSCodec
- java.lang.Object
-
- org.grails.encoder.impl.HTMLJSCodec
-
- All Implemented Interfaces:
CodecFactory
public class HTMLJSCodec extends java.lang.Object implements CodecFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected Decoder[]decodersprotected StreamingEncoder[]encoders
-
Constructor Summary
Constructors Constructor Description HTMLJSCodec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DecodergetDecoder()Gets the decoder instance.EncodergetEncoder()Gets the encoder instance.
-
-
-
Field Detail
-
encoders
protected final StreamingEncoder[] encoders
-
decoders
protected final Decoder[] decoders
-
-
Method Detail
-
getEncoder
public Encoder getEncoder()
Description copied from interface:CodecFactoryGets the encoder instance.- Specified by:
getEncoderin interfaceCodecFactory- Returns:
- the encoder
-
getDecoder
public Decoder getDecoder()
Description copied from interface:CodecFactoryGets the decoder instance.- Specified by:
getDecoderin interfaceCodecFactory- Returns:
- the decoder
-
-