java.io.Serializable
public final class IteratorPool
extends java.lang.Object
implements java.io.Serializable
Constructor | Description |
---|---|
IteratorPool(DTMIterator original) |
Constructor IteratorPool
|
Modifier and Type | Method | Description |
---|---|---|
void |
freeInstance(DTMIterator obj) |
Add an instance of the given object to the pool
|
DTMIterator |
getInstance() |
Get an instance of the given object in this pool
|
DTMIterator |
getInstanceOrThrow() |
Get an instance of the given object in this pool
|
public IteratorPool(DTMIterator original)
original
- The original iterator from which all others will be cloned.public DTMIterator getInstanceOrThrow() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public DTMIterator getInstance()
public void freeInstance(DTMIterator obj)
obj
- Object to add.Copyright © 2014 Apache XML Project. All Rights Reserved.