org.exist.util
Class XMLReaderPool

java.lang.Object
  extended byStackObjectPool
      extended byorg.exist.util.XMLReaderPool

public class XMLReaderPool
extends StackObjectPool

Maintains a pool of XMLReader objects. The pool is available through BrokerPool.getParserPool().

Author:
wolf
See Also:
Serialized Form

Constructor Summary
XMLReaderPool(PoolableObjectFactory factory, int maxIdle, int initIdleCapacity)
           
 
Method Summary
 org.xml.sax.XMLReader borrowXMLReader()
           
 void returnXMLReader(org.xml.sax.XMLReader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLReaderPool

public XMLReaderPool(PoolableObjectFactory factory,
                     int maxIdle,
                     int initIdleCapacity)
Method Detail

borrowXMLReader

public org.xml.sax.XMLReader borrowXMLReader()

returnXMLReader

public void returnXMLReader(org.xml.sax.XMLReader reader)


<oXygen/> XML Editor provides support for editing and debugging XQuery expressions against the eXist XML Database.