Lines Matching refs:XMLReader
34 import org.xml.sax.XMLReader;
38 * Creates XMLReader objects and caches them for re-use.
51 * Parser factory to be used to construct XMLReader objects
56 * Cache of XMLReader objects
61 * Keeps track of whether an XMLReader object is in use.
86 * Retrieves a cached XMLReader for this thread, or creates a new
87 * XMLReader, if the existing reader is in use. When the caller no
91 public synchronized XMLReader getXMLReader() throws SAXException {
92 XMLReader reader;
96 // on a thread, a new XMLReader will automatically be created.
107 reader = (XMLReader) m_readers.get();
125 // the XMLReader from JAXP
157 // Cache the XMLReader if this is the first time we've created
169 * Mark the cached XMLReader as available. If the reader was not
172 * @param reader The XMLReader that's being released.
174 public synchronized void releaseXMLReader(XMLReader reader) {