Class SAXParserObjectFactory

java.lang.Object
org.apache.commons.pool2.BaseObject
org.apache.commons.pool2.BasePooledObjectFactory<SAXParser>
io.jmix.core.common.xmlparsing.SAXParserObjectFactory
All Implemented Interfaces:
org.apache.commons.pool2.PooledObjectFactory<SAXParser>

public class SAXParserObjectFactory extends org.apache.commons.pool2.BasePooledObjectFactory<SAXParser>
Object factory for SAXParser object pool.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.apache.commons.pool2.PooledObject<SAXParser>
     

    Methods inherited from class org.apache.commons.pool2.BasePooledObjectFactory

    activateObject, destroyObject, makeObject, passivateObject, validateObject

    Methods inherited from class org.apache.commons.pool2.BaseObject

    toString, toStringAppendFields

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.commons.pool2.PooledObjectFactory

    destroyObject
  • Constructor Details

    • SAXParserObjectFactory

      public SAXParserObjectFactory()
  • Method Details

    • create

      public SAXParser create() throws Exception
      Specified by:
      create in class org.apache.commons.pool2.BasePooledObjectFactory<SAXParser>
      Throws:
      Exception
    • wrap

      public org.apache.commons.pool2.PooledObject<SAXParser> wrap(SAXParser obj)
      Specified by:
      wrap in class org.apache.commons.pool2.BasePooledObjectFactory<SAXParser>