Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Method Summary
`QContext` | `allocate()` Allocate a previously used context.
`void` | `release(QContext context)` The context is now available for reuse.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### QContextPool

    public QContextPool(QDoc schema)

  Create QContext objects for the given schema.

Method Detail

### 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.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD