public class XMLReaderPool
extends java.lang.Object
XMLReader reader = null;
try {
reader = pool.checkOut();
// Set Content handler and parse
} finally {
pool.checkIn(reader);
}
| Constructor and Description |
|---|
XMLReaderPool() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkIn(org.xml.sax.XMLReader reader) |
org.xml.sax.XMLReader |
checkOut() |
protected org.xml.sax.XMLReader |
create() |
javax.xml.parsers.SAXParserFactory |
getSaxFactory() |