|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xml.utils.XMLReaderManager
Creates XMLReader objects and caches them for re-use. This class follows the singleton pattern.
Method Summary | |
static XMLReaderManager |
getInstance()
Retrieves the singleton reader manager |
XMLReader |
getXMLReader()
Retrieves a cached XMLReader for this thread, or creates a new XMLReader, if the existing reader is in use. |
void |
releaseXMLReader(XMLReader reader)
Mark the cached XMLReader as available. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public static XMLReaderManager getInstance()
public XMLReader getXMLReader() throws SAXException
releaseXMLReader(org.xml.sax.XMLReader)
.public void releaseXMLReader(XMLReader reader)
reader
- The XMLReader that's being released.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |