1 /*
2 * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons-sandbox//xmlio/src/java/org/apache/commons/xmlio/in/DefaultSimpleImportHandler.java,v 1.1 2004/10/08 11:56:20 ozeigermann Exp $
3 * $Revision: 1.1 $
4 * $Date: 2004-10-08 04:56:20 -0700 (Fri, 08 Oct 2004) $
5 *
6 * ====================================================================
7 *
8 * Copyright 2004 The Apache Software Foundation
9 *
10 * Licensed under the Apache License, Version 2.0 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
13 *
14 * http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
21 *
22 */
23
24 package org.apache.commons.xmlio.in;
25
26 import org.xml.sax.helpers.AttributesImpl;
27
28 /***
29 * Empty implementation for callback interface {@link SimpleImportHandler} for {@link SimpleImporter}.
30 * For lazy people - like me - who do not like to write empty method bodies.
31 *
32 */
33 public class DefaultSimpleImportHandler implements SimpleImportHandler {
34
35 public void startDocument() { }
36 public void endDocument() { }
37
38 public void cData(SimplePath path, String cdata) { }
39
40 public void startElement(SimplePath path, String name, AttributesImpl attributes, String leadingCDdata) { }
41 public void endElement(SimplePath path, String name) { }
42 }