generator.createFeed(registry, stream, entries);
generator.createFeed(registry, stream, (Entry[]) entries.toArray(new Entry[0]));
    public void output(Registry registry, Output output, PrintWriter stream, Entry[] entries)                throws OperationException    {        if ( entries == null )            throw new IllegalArgumentException("entries parameter is not allowed to be null");        AtomFeedGenerator generator = new AtomFeedGenerator();        generator.createFeed(registry, stream, entries);    }