KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > puppycrawl > tools > checkstyle > NamespacesSAXParserFactoryImpl


1 package com.puppycrawl.tools.checkstyle;
2
3 import org.apache.xerces.jaxp.SAXParserFactoryImpl;
4
5 /**
6  * A parser factory that produces parsers that support XML namespaces.
7  * @author Rick Giles
8  * @version May 28, 2004
9  */

10 public class NamespacesSAXParserFactoryImpl extends SAXParserFactoryImpl
11 {
12     /**
13      * Constructs a NamespacesSAXParserFactoryImpl. Initializes
14      * it to produce parsers that support XML namespaces.
15      */

16     public NamespacesSAXParserFactoryImpl()
17     {
18         super();
19         setNamespaceAware(true);
20     }
21 }
22
Popular Tags