Class XMLReaderPool

java.lang.Object
com.inductiveautomation.ignition.common.XMLReaderPool

public class XMLReaderPool extends Object
This 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 Details

    • XMLReaderPool

      public XMLReaderPool()
  • Method Details