01: /* Copyright 2001 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.utils;
07:
08: import org.xml.sax.ContentHandler;
09: import org.xml.sax.SAXException;
10: import org.xml.sax.XMLReader;
11:
12: /**
13: * Filters out startDocument and endDocument from the
14: * channel content.
15: * @author Peter Kharchenko
16: * @version $Revision: 34797 $
17: */
18: public class SAXDocumentFilter extends SAX2FilterImpl {
19: // downward
20: public SAXDocumentFilter(ContentHandler handler) {
21: super (handler);
22: }
23:
24: // upward
25: public SAXDocumentFilter(XMLReader parent) {
26: super (parent);
27: }
28:
29: public void startDocument() throws SAXException {
30: }
31:
32: public void endDocument() throws SAXException {
33: }
34:
35: }
|