Package org.grails.encoder
Class ChainedDecoder
- java.lang.Object
-
- org.grails.encoder.ChainedDecoder
-
- All Implemented Interfaces:
CodecIdentifierProvider,Decoder
public class ChainedDecoder extends java.lang.Object implements Decoder
-
-
Field Summary
Fields Modifier and Type Field Description protected CodecIdentifiercodecIdentifierprotected Decoder[]decoders
-
Constructor Summary
Constructors Constructor Description ChainedDecoder(Decoder[] decoders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CombinedCodecIdentifiercreateCodecIdentifier(Decoder[] decoders)java.lang.Objectdecode(java.lang.Object o)Decode given input objectCodecIdentifiergetCodecIdentifier()Gets the codec identifier information.
-
-
-
Field Detail
-
decoders
protected Decoder[] decoders
-
codecIdentifier
protected CodecIdentifier codecIdentifier
-
-
Constructor Detail
-
ChainedDecoder
public ChainedDecoder(Decoder[] decoders)
-
-
Method Detail
-
createCodecIdentifier
protected CombinedCodecIdentifier createCodecIdentifier(Decoder[] decoders)
-
getCodecIdentifier
public CodecIdentifier getCodecIdentifier()
Description copied from interface:CodecIdentifierProviderGets the codec identifier information.- Specified by:
getCodecIdentifierin interfaceCodecIdentifierProvider- Returns:
- the codec identifier information
-
-