org.xins.common.xml
Class SAXParserProvider

java.lang.Object
  extended byorg.xins.common.xml.SAXParserProvider

public class SAXParserProvider
extends Object

Provider for SAXParser instances. This class will cache one instance of a SAXParser per thread.

The returned SAXParser is guaranteed to be validating and namespace-aware.

Since:
XINS 1.3.0
Version:
$Revision: 1.10 $ $Date: 2006/10/25 09:39:35 $
Author:
Ernst de Haan

Method Summary
static SAXParser get()
          Returns a SAXParser instance that can be used in the current thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static SAXParser get()
Returns a SAXParser instance that can be used in the current thread. The SAXParser won't perform the validation of the XML.

Returns:
a SAXParser instance, never null.


See http://www.xins.org/.