com.sun.xml.messaging.saaj.util
Class ParserPool

java.lang.Object
  extended by com.sun.xml.messaging.saaj.util.ParserPool

public class ParserPool
extends Object

Pool of SAXParser objects


Constructor Summary
ParserPool(int capacity)
           
 
Method Summary
 SAXParser get()
           
 void put(SAXParser parser)
           
 void returnParser(SAXParser saxParser)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserPool

public ParserPool(int capacity)
Method Detail

get

public SAXParser get()
              throws ParserConfigurationException,
                     SAXException
Throws:
ParserConfigurationException
SAXException

put

public void put(SAXParser parser)

returnParser

public void returnParser(SAXParser saxParser)


Copyright © 2012 Oracle. All Rights Reserved.