1 /* |
1 /* |
2 * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
22 * or visit www.oracle.com if you need additional information or have any |
22 * or visit www.oracle.com if you need additional information or have any |
23 * questions. |
23 * questions. |
24 */ |
24 */ |
25 |
25 |
26 // SAX default handler base class. |
|
27 // http://www.saxproject.org |
|
28 // No warranty; no copyright -- use this as you will. |
|
29 // $Id: HandlerBase.java,v 1.2 2005/06/10 03:50:47 jeffsuttor Exp $ |
|
30 |
|
31 package org.xml.sax; |
26 package org.xml.sax; |
32 |
27 |
33 /** |
28 /** |
34 * Default base class for handlers. |
29 * Default base class for handlers. |
35 * |
30 * |
36 * <blockquote> |
31 * <p>This class implements the default behavior for four SAX1 |
37 * <em>This module, both source code and documentation, is in the |
|
38 * Public Domain, and comes with <strong>NO WARRANTY</strong>.</em> |
|
39 * See <a href='http://www.saxproject.org'>http://www.saxproject.org</a> |
|
40 * for further information. |
|
41 * </blockquote> |
|
42 * |
|
43 * <p>This class implements the default behaviour for four SAX1 |
|
44 * interfaces: EntityResolver, DTDHandler, DocumentHandler, |
32 * interfaces: EntityResolver, DTDHandler, DocumentHandler, |
45 * and ErrorHandler. It is now obsolete, but is included in SAX2 to |
33 * and ErrorHandler. It is now obsolete, but is included in SAX2 to |
46 * support legacy SAX1 applications. SAX2 applications should use |
34 * support legacy SAX1 applications. SAX2 applications should use |
47 * the {@link org.xml.sax.helpers.DefaultHandler DefaultHandler} |
35 * the {@link org.xml.sax.helpers.DefaultHandler DefaultHandler} |
48 * class instead.</p> |
36 * class instead.</p> |