1 /*
   2  * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   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
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  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
  23  * questions.
  24  */
  25 
  26 /**
  27  * Provides interfaces to SAX2 facilities that
  28  * conformant SAX drivers won't necessarily support.
  29  *
  30  * <p>
  31  * See <a target='_top' href='http://www.saxproject.org'>http://www.saxproject.org</a>
  32  * for more information about SAX.
  33  *
  34  * <p>
  35  * This package is independent of the SAX2 core, though the functionality
  36  * exposed generally needs to be implemented within a parser core.
  37  * That independence has several consequences:
  38  *
  39  * <ul>
  40  *
  41  * <li>SAX2 drivers are <em>not</em> required to recognize these handlers.
  42  * </li>
  43  *
  44  * <li>You cannot assume that the class files will be present in every SAX2
  45  * installation.</li>
  46  *
  47  * <li>This package may be updated independently of SAX2 (i.e. new
  48  * handlers and classes may be added without updating SAX2 itself).</li>
  49  *
  50  * <li>The new handlers are not implemented by the SAX2
  51  * <code>org.xml.sax.helpers.DefaultHandler</code> or
  52  * <code>org.xml.sax.helpers.XMLFilterImpl</code> classes.
  53  * You can subclass these if you need such behavior, or
  54  * use the helper classes found here.</li>
  55  *
  56  * <li>The handlers need to be registered differently than core SAX2
  57  * handlers.</li>
  58  *
  59  * </ul>
  60  *
  61  * <p>This package, SAX2-ext, is a standardized extension to SAX2.  It is
  62  * designed both to allow SAX parsers to pass certain types of information
  63  * to applications, and to serve as a simple model for other SAX2 parser
  64  * extension packages.  Not all such extension packages should need to
  65  * be recognized directly by parsers, however.
  66  * As an example, most validation systems can be cleanly layered on top
  67  * of parsers supporting the standardized SAX2 interfaces.
  68  *
  69  * @since 1.4
  70  */
  71 
  72 package org.xml.sax.ext;