01: package org.dom4j.io;
02:
03: import org.xml.sax.SAXException;
04: import org.xml.sax.XMLReader;
05:
06: public class LNSAXReader extends SAXReader {
07:
08: public LNSAXReader() {
09: super ();
10: }
11:
12: /**
13: * @param validating
14: */
15: public LNSAXReader(boolean validating) {
16: super (validating);
17: }
18:
19: /**
20: * @param xmlReader
21: */
22: public LNSAXReader(XMLReader xmlReader) {
23: super (xmlReader);
24: }
25:
26: /**
27: * @param xmlReader
28: * @param validating
29: */
30: public LNSAXReader(XMLReader xmlReader, boolean validating) {
31: super (xmlReader, validating);
32: }
33:
34: /**
35: * @param xmlReaderClassName
36: * @throws org.xml.sax.SAXException
37: */
38: public LNSAXReader(String xmlReaderClassName) throws SAXException {
39: super (xmlReaderClassName);
40: }
41:
42: /**
43: * @param xmlReaderClassName
44: * @param validating
45: * @throws org.xml.sax.SAXException
46: */
47: public LNSAXReader(String xmlReaderClassName, boolean validating)
48: throws SAXException {
49: super (xmlReaderClassName, validating);
50: }
51:
52: /* (non-Javadoc)
53: * @see org.dom4j.io.SAXReader#createContentHandler(org.xml.sax.XMLReader)
54: */
55: protected SAXContentHandler createContentHandler(XMLReader reader) {
56: return new LNSAXContentHandler(new LDocumentFactory(),
57: getDispatchHandler());
58: }
59: }
|