@Deprecated
public final class RecyclingFactory
extends java.lang.Object
XMLInputStream,
ElementFilter,
XMLInputStreamFactory| Modifier and Type | Method | Description |
|---|---|---|
boolean |
add(XMLInputStream stream) |
Deprecated.
Return a stream to the pool.
|
static void |
main(java.lang.String[] args) |
Deprecated.
|
XMLInputStream |
remove(java.io.InputStream stream) |
Deprecated.
Get a recycled XMLInputStream from the pool
or create a new one
|
XMLInputStream |
remove(java.io.InputStream stream,
ElementFilter filter) |
Deprecated.
Get a recycled XMLInputStream from the pool
or create a new one and wrap it with the desired
filter
|
XMLInputStream |
remove(java.io.Reader reader) |
Deprecated.
Get a recycled XMLInputStream from the pool
or create a new one
|
XMLInputStream |
remove(java.io.Reader reader,
ElementFilter filter) |
Deprecated.
Get a recycled XMLInputStream from the pool
or create a new one and wrap it with the desired
filter
|
public XMLInputStream remove(java.io.InputStream stream) throws XMLStreamException
stream - the stream of XML to read fromXMLStreamExceptionpublic XMLInputStream remove(java.io.Reader reader) throws XMLStreamException
reader - the XML reader to read fromXMLStreamExceptionpublic XMLInputStream remove(java.io.InputStream stream, ElementFilter filter) throws XMLStreamException
stream - the stream of XML to read fromfilter - the ElementFilter to apply to the streamXMLStreamExceptionpublic XMLInputStream remove(java.io.Reader reader, ElementFilter filter) throws XMLStreamException
reader - the XML reader to read fromfilter - the ElementFilter to apply to the streamXMLStreamExceptionpublic boolean add(XMLInputStream stream) throws XMLStreamException
stream - the XMLInputStream to return to the poolXMLStreamExceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception