view src/java.xml/share/classes/org/xml/sax/ext/package-info.java @ 1133:a208fa9beeee

8180349: Review JAXP Java SE 9 API javadocs Reviewed-by: rriggs, lancea
author joehw
date Wed, 24 May 2017 14:10:04 -0700
parents
children
line wrap: on
line source

/*
 * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * This code is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 only, as
 * published by the Free Software Foundation.  Oracle designates this
 * particular file as subject to the "Classpath" exception as provided
 * by Oracle in the LICENSE file that accompanied this code.
 *
 * This code is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * version 2 for more details (a copy is included in the LICENSE file that
 * accompanied this code).
 *
 * You should have received a copy of the GNU General Public License version
 * 2 along with this work; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 * or visit www.oracle.com if you need additional information or have any
 * questions.
 */

/**
 * Provides interfaces to SAX2 facilities that
 * conformant SAX drivers won't necessarily support.
 *
 * <p>
 * See <a target='_top' href='http://www.saxproject.org'>http://www.saxproject.org</a>
 * for more information about SAX.
 *
 * <p>
 * This package is independent of the SAX2 core, though the functionality
 * exposed generally needs to be implemented within a parser core.
 * That independence has several consequences:
 *
 * <ul>
 *
 * <li>SAX2 drivers are <em>not</em> required to recognize these handlers.
 * </li>
 *
 * <li>You cannot assume that the class files will be present in every SAX2
 * installation.</li>
 *
 * <li>This package may be updated independently of SAX2 (i.e. new
 * handlers and classes may be added without updating SAX2 itself).</li>
 *
 * <li>The new handlers are not implemented by the SAX2
 * <code>org.xml.sax.helpers.DefaultHandler</code> or
 * <code>org.xml.sax.helpers.XMLFilterImpl</code> classes.
 * You can subclass these if you need such behavior, or
 * use the helper classes found here.</li>
 *
 * <li>The handlers need to be registered differently than core SAX2
 * handlers.</li>
 *
 * </ul>
 *
 * <p>This package, SAX2-ext, is a standardized extension to SAX2.  It is
 * designed both to allow SAX parsers to pass certain types of information
 * to applications, and to serve as a simple model for other SAX2 parser
 * extension packages.  Not all such extension packages should need to
 * be recognized directly by parsers, however.
 * As an example, most validation systems can be cleanly layered on top
 * of parsers supporting the standardized SAX2 interfaces.
 *
 * @since 1.4
 */

package org.xml.sax.ext;