Class XMLReaderPool
- java.lang.Object
-
- com.inductiveautomation.ignition.common.XMLReaderPool
-
public class XMLReaderPool extends java.lang.ObjectThis class maintains a pool of XMLReaders. To use it, create an XMLReaderPool, and then checkOut and checkIn readers as follows:XMLReader reader = null; try { reader = pool.checkOut(); // Set Content handler and parse } finally { pool.checkIn(reader); }
-
-
Constructor Summary
Constructors Constructor Description XMLReaderPool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckIn(org.xml.sax.XMLReader reader)org.xml.sax.XMLReadercheckOut()protected org.xml.sax.XMLReadercreate()javax.xml.parsers.SAXParserFactorygetSaxFactory()
-