public final class IteratorPool
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
IteratorPool(DTMIterator original)
Constructor IteratorPool
|
| Modifier and Type | Method and 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.CloneNotSupportedExceptionpublic DTMIterator getInstance()
public void freeInstance(DTMIterator obj)
obj - Object to add.Copyright © 2023 Apache XML Project. All Rights Reserved.