writerRecord.startCollection();
int arrayLength = Array.getLength(object);
for(int x=0; x<arrayLength; x++) {
marshal(Array.get(object, x), writerRecord);
}
writerRecord.endCollection();
writer.flush();
} catch(IOException e) {
throw XMLMarshalException.marshalException(e);
}
return;