question: private String _serializeList ( List list , Set < Object > done ) throws ConverterException { StringBuilder sb = new StringBuilder ( goIn ( ) + "<array length=" + del + list . size ( ) + del + ">" ) ; ListIterator it = list . listIterator ( ) ; while ( it . hasNext ( ) ) { sb . append ( _serialize ( it . next ( ) , done ) ) ; } sb . append ( goIn ( ) + "</array>" ) ; return sb . toString ( ) ; }
target:  serialize a List (as Array)