class CorbaObjectWriter {

    public void writeArray(CorbaArrayHandler arrayHandler) throws CorbaBindingException {
        List<CorbaObjectHandler> arrayElements = arrayHandler.getElements();

        for (int i = 0; i < arrayElements.size(); ++i) {
            this.write(arrayElements.get(i));
        }
    }

    public  CorbaObjectWriter(OutputStream outStream);

}