private static void serializeList ( final List list , final ContentHandler handler ) throws SAXException { final AttributesImpl attributes = new AttributesImpl ( ) ; handler . startElement ( null , "array" , "array" , attributes ) ; for ( final Object aList : list ) { serializeObject ( aList , handler ) ; } handler . endElement ( null , "array" , "array" ) ; }
Serialize a list as an array element .