Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
DefaultSimpleImportHandler |
|
| 1.0;1 |
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: 155476 $ | |
4 | * $Date: 2005-02-26 13:31:24 +0000 (Sat, 26 Feb 2005) $ | |
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 | 0 | public class DefaultSimpleImportHandler implements SimpleImportHandler { |
34 | ||
35 | 0 | public void startDocument() { } |
36 | 0 | public void endDocument() { } |
37 | ||
38 | 0 | public void cData(SimplePath path, String cdata) { } |
39 | ||
40 | 0 | public void startElement(SimplePath path, String name, AttributesImpl attributes, String leadingCDdata) { } |
41 | 0 | public void endElement(SimplePath path, String name) { } |
42 | } |