src/java.xml/share/classes/javax/xml/catalog/package-info.java
author thartmann
Fri, 24 Aug 2018 08:17:23 +0200
changeset 51514 1e332d63bd96
parent 47216 71c04702a3d5
permissions -rw-r--r--
8209833: C2 compilation fails with "assert(ex_map->jvms()->same_calls_as(_exceptions->jvms())) failed: all collected exceptions must come from the same place" Summary: Deoptimize if exception is thrown in _clone intrinsic. Reviewed-by: kvn
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
45359
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
     1
/*
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
     2
 * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
     4
 *
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    10
 *
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    15
 * accompanied this code).
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    16
 *
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    20
 *
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    23
 * questions.
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    24
 */
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    25
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    26
/**
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    27
 *
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    28
 * Provides the classes for implementing
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    29
 * <a href="https://www.oasis-open.org/committees/download.php/14809/xml-catalogs.html">
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    30
 *     XML Catalogs OASIS Standard V1.1, 7 October 2005</a>.
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    31
 *
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    32
 * <p>
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    33
 * The Catalog API defines a standard solution for resolving external resources
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    34
 * referenced by XML documents. It is fully supported by the XML Processors
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    35
 * allowing application developers to configure a catalog through an XML processor
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    36
 * or system property or the jaxp.properties file to take advantage of the feature.
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    37
 * <p>
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    38
 * The XML Catalog API defines the following interfaces:
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    39
 * <ul>
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    40
 *     <li>{@link Catalog} -- The {@link Catalog} interface represents an entity
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    41
 *         catalog as defined by the Catalog standard. A {@link Catalog} object
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    42
 *         is immutable. Once created, it can be used to find matches in a
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    43
 *         {@code system}, {@code public} or {@code uri} entry.
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    44
 *         A custom resolver implementation may find it useful for locating local
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    45
 *         resources through a catalog.
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    46
 *     </li>
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    47
 *     <li>{@link CatalogFeatures} -- The {@link CatalogFeatures} class holds all
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    48
 *         of the features and properties the Catalog API supports, including
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    49
 *         {@code javax.xml.catalog.files}, {@code javax.xml.catalog.defer},
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    50
 *         {@code javax.xml.catalog.prefer}, and {@code javax.xml.catalog.resolve}.
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    51
 *     </li>
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    52
 *     <li>{@link CatalogManager} -- The {@link CatalogManager} class manages the
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    53
 *         creation of XML catalogs and catalog resolvers.
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    54
 *     </li>
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    55
 *     <li>{@link CatalogResolver} -- The {@link CatalogResolver} class is a
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    56
 *         {@code Catalog} resolver that implements {@link org.xml.sax.EntityResolver},
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    57
 *         {@link javax.xml.stream.XMLResolver}, {@link org.w3c.dom.ls.LSResourceResolver},
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    58
 *         and {@link javax.xml.transform.URIResolver}, and resolves external
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    59
 *         references using catalogs.
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    60
 *     </li>
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    61
 * </ul>
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    62
 * <p>
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    63
 * Unless otherwise noted, passing a null argument to
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    64
 * a constructor or method in any class or interface in this package will
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    65
 * cause a {@code NullPointerException} to be thrown.
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    66
 *
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    67
 * @since 9
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    68
 *
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    69
 */
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    70
a55c79938b9c 8180349: Review JAXP Java SE 9 API javadocs
joehw
parents:
diff changeset
    71
package javax.xml.catalog;