fr.gouv.culture.util.apache.cocoon.xml
Class AbstractSynchronizedXMLProducer

java.lang.Object
  extended byfr.gouv.culture.util.apache.avalon.excalibur.concurrent.Semaphore
      extended byfr.gouv.culture.util.apache.avalon.excalibur.concurrent.Mutex
          extended byfr.gouv.culture.util.apache.cocoon.xml.AbstractSynchronizedXMLProducer
All Implemented Interfaces:
org.apache.avalon.excalibur.pool.Poolable, org.apache.avalon.excalibur.pool.Recyclable, org.apache.avalon.excalibur.concurrent.Sync, SynchronizedXMLProducer, org.apache.cocoon.xml.XMLProducer
Direct Known Subclasses:
AbstractSynchronizedXMLPipe

public abstract class AbstractSynchronizedXMLProducer
extends Mutex
implements SynchronizedXMLProducer, org.apache.avalon.excalibur.pool.Recyclable

Created by IntelliJ IDEA. User: rpandey Date: Jun 2, 2003 Time: 2:45:02 PM To change this template use Options | File Templates.


Field Summary
protected  SynchronizedXMLConsumer synchronizedXmlConsumer
          The XMLConsumer receiving SAX events.
 
Constructor Summary
AbstractSynchronizedXMLProducer()
           
 
Method Summary
 void recycle()
          Recycle the producer by removing references
 void setConsumer(SynchronizedXMLConsumer consumer)
          Set the XMLConsumer that will receive XML data.
 void setConsumer(org.apache.cocoon.xml.XMLConsumer consumer)
          Set the XMLConsumer that will receive XML data.
 void setSynchronizedConsumer(SynchronizedXMLConsumer consumer)
          Set the XMLConsumer that will receive XML data.
 
Methods inherited from class fr.gouv.culture.util.apache.avalon.excalibur.concurrent.Mutex
isAcquired
 
Methods inherited from class fr.gouv.culture.util.apache.avalon.excalibur.concurrent.Semaphore
acquire, attempt, getTokens, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.avalon.excalibur.concurrent.Sync
acquire, attempt, release
 

Field Detail

synchronizedXmlConsumer

protected SynchronizedXMLConsumer synchronizedXmlConsumer
The XMLConsumer receiving SAX events.

Constructor Detail

AbstractSynchronizedXMLProducer

public AbstractSynchronizedXMLProducer()
Method Detail

setConsumer

public void setConsumer(SynchronizedXMLConsumer consumer)
Set the XMLConsumer that will receive XML data.

Specified by:
setConsumer in interface SynchronizedXMLProducer

setSynchronizedConsumer

public void setSynchronizedConsumer(SynchronizedXMLConsumer consumer)
Set the XMLConsumer that will receive XML data.


setConsumer

public void setConsumer(org.apache.cocoon.xml.XMLConsumer consumer)
Set the XMLConsumer that will receive XML data.

Specified by:
setConsumer in interface org.apache.cocoon.xml.XMLProducer

recycle

public void recycle()
Recycle the producer by removing references

Specified by:
recycle in interface org.apache.avalon.excalibur.pool.Recyclable


Copyright © 2000-2003 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.