public class XMLReaderManager
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static XMLReaderManager |
getInstance()
Retrieves the singleton reader manager
|
org.xml.sax.XMLReader |
getXMLReader()
Retrieves a cached XMLReader for this thread, or creates a new
XMLReader, if the existing reader is in use.
|
void |
releaseXMLReader(org.xml.sax.XMLReader reader)
Mark the cached XMLReader as available.
|
public static XMLReaderManager getInstance()
public org.xml.sax.XMLReader getXMLReader()
throws org.xml.sax.SAXException
releaseXMLReader(org.xml.sax.XMLReader).org.xml.sax.SAXExceptionpublic void releaseXMLReader(org.xml.sax.XMLReader reader)
reader - The XMLReader that's being released.Copyright © 2023 Apache XML Project. All Rights Reserved.