| Constructor and Description | 
|---|
| IterableCodec(CodecRegistry registry,
             BsonTypeClassMap bsonTypeClassMap)Construct a new instance with the given  CodecRegistryandBsonTypeClassMap. | 
| IterableCodec(CodecRegistry registry,
             BsonTypeClassMap bsonTypeClassMap,
             Transformer valueTransformer)Construct a new instance with the given  CodecRegistryandBsonTypeClassMap. | 
| Modifier and Type | Method and Description | 
|---|---|
| Iterable | decode(BsonReader reader,
      DecoderContext decoderContext)Decodes a BSON value from the given reader into an instance of the type parameter  T. | 
| void | encode(BsonWriter writer,
      Iterable value,
      EncoderContext encoderContext)Encode an instance of the type parameter  Tinto a BSON value. | 
| Class<Iterable> | getEncoderClass()Returns the Class instance that this encodes. | 
public IterableCodec(CodecRegistry registry, BsonTypeClassMap bsonTypeClassMap)
CodecRegistry and BsonTypeClassMap.registry - the non-null codec registrybsonTypeClassMap - the non-null BsonTypeClassMappublic IterableCodec(CodecRegistry registry, BsonTypeClassMap bsonTypeClassMap, Transformer valueTransformer)
CodecRegistry and BsonTypeClassMap.registry - the non-null codec registrybsonTypeClassMap - the non-null BsonTypeClassMapvalueTransformer - the value Transformerpublic Iterable decode(BsonReader reader, DecoderContext decoderContext)
DecoderT.public void encode(BsonWriter writer, Iterable value, EncoderContext encoderContext)
EncoderT into a BSON value.public Class<Iterable> getEncoderClass()
EncodergetEncoderClass in interface Encoder<Iterable>