01: package com.puppycrawl.tools.checkstyle;
02:
03: import org.apache.xerces.jaxp.SAXParserFactoryImpl;
04:
05: /**
06: * A parser factory that produces parsers that support XML namespaces.
07: * @author Rick Giles
08: * @version May 28, 2004
09: */
10: public class NamespacesSAXParserFactoryImpl extends
11: SAXParserFactoryImpl {
12: /**
13: * Constructs a NamespacesSAXParserFactoryImpl. Initializes
14: * it to produce parsers that support XML namespaces.
15: */
16: public NamespacesSAXParserFactoryImpl() {
17: super ();
18: setNamespaceAware(true);
19: }
20: }
|