com.jxml.quick.recycle
Class QContextPool
java.lang.Object
|
+--com.jxml.quick.recycle.QContextPool
- public final class QContextPool
- extends Object
Manages a pool or reusable QContext objects.
Constructor Summary |
QContextPool(QDoc schema)
Create QContext objects for the given schema. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QContextPool
public QContextPool(QDoc schema)
- Create QContext objects for the given schema.
allocate
public QContext allocate()
throws SAXException
- Allocate a previously used context. If none exists, create a new one.
release
public void release(QContext context)
- The context is now available for reuse.