Here you can find the source of releaseSAXParser(SAXParser parser)
public static synchronized void releaseSAXParser(SAXParser parser)
//package com.java2s; /******************************************************************************* * Copyright (c) 2011 UCLA Medical Imaging Informatics Group * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v3.0 * which accompanies this distribution, and is available at * http://www.gnu.org/licenses/lgpl.html ******************************************************************************/ import java.util.Stack; import javax.xml.parsers.SAXParser; public class Main { private static Stack stack = null; public static synchronized void releaseSAXParser(SAXParser parser) { stack.push(parser);/*from w w w . j av a 2 s. c o m*/ } }