/*
Copyright (C) 2000-2010  Ministere de la culture et de la communication (France), AJLSM
See LICENCE file
*/
package fr.gouv.culture.util.apache.cocoon.xml;

/*MAJ_COCOON_2.1.10
import org.apache.avalon.excalibur.concurrent.Sync;*/
import EDU.oswego.cs.dl.util.concurrent.Sync;
import org.apache.cocoon.xml.XMLProducer;


public interface SynchronizedXMLProducer extends XMLProducer, Sync {

    /**
     * Set the <code>XMLConsumer</code> that will receive XML data.
     */
    void setConsumer(SynchronizedXMLConsumer consumer);

	/**
     * Set the <code>XMLConsumer</code> that will receive XML data.
     */
    public boolean acquired();
}
