com.flat502.rox.marshal.xmlrpc
Class SaxParserPool
java.lang.Object
com.flat502.rox.marshal.xmlrpc.SaxParserPool
public class SaxParserPool
- extends java.lang.Object
Maintains a pool of SAX parsers and unmarshallers.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PARSER_POOL
public static SaxParserPool DEFAULT_PARSER_POOL
SaxParserPool
public SaxParserPool()
SaxParserPool
public SaxParserPool(FieldNameCodec codec)
provideParser
public javax.xml.parsers.SAXParser provideParser()
throws java.lang.Exception
- Throws:
java.lang.Exception
returnParser
public void returnParser(javax.xml.parsers.SAXParser parser)
provideUnmarshaller
public SaxUnmarshaller provideUnmarshaller()
throws java.lang.Exception
- Throws:
java.lang.Exception
returnUnmarshaller
public void returnUnmarshaller(SaxUnmarshaller unmarshaller)