protected void pipeExtraElements ( final List < BsonElement > extraElements ) { notNull ( "extraElements" , extraElements ) ; for ( BsonElement cur : extraElements ) { writeName ( cur . getName ( ) ) ; pipeValue ( cur . getValue ( ) ) ; } }
Pipe a list of extra element to this writer