jaxws/src/java.xml.bind/share/classes/javax/xml/bind/annotation/XmlNsForm.java
author jjg
Fri, 01 Sep 2017 14:06:12 -0700
changeset 47210 1edad689f56c
parent 28887 88470f768658
permissions -rw-r--r--
8186947: Fix accessibility and other issues in the java.xml.ws module Reviewed-by: lancea, mchung, darcy
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12009
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
     1
/*
47210
1edad689f56c 8186947: Fix accessibility and other issues in the java.xml.ws module
jjg
parents: 28887
diff changeset
     2
 * Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved.
12009
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
     4
 *
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    10
 *
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    15
 * accompanied this code).
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    16
 *
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    20
 *
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    23
 * questions.
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    24
 */
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    25
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    26
package javax.xml.bind.annotation;
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    27
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    28
/**
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    29
 * Enumeration of XML Schema namespace qualifications.
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    30
 *
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    31
 * <p>See "Package Specification" in javax.xml.bind.package javadoc for
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    32
 * additional common information.</p>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    33
 *
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    34
 * <p><b>Usage</b>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    35
 * <p>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    36
 * The namespace qualification values are used in the annotations
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    37
 * defined in this packge. The enumeration values are mapped as follows:
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    38
 *
47210
1edad689f56c 8186947: Fix accessibility and other issues in the java.xml.ws module
jjg
parents: 28887
diff changeset
    39
 * <table class="striped">
1edad689f56c 8186947: Fix accessibility and other issues in the java.xml.ws module
jjg
parents: 28887
diff changeset
    40
 *   <caption style="display:none">Mapping of enumeration values</caption>
1edad689f56c 8186947: Fix accessibility and other issues in the java.xml.ws module
jjg
parents: 28887
diff changeset
    41
 *   <thead>
1edad689f56c 8186947: Fix accessibility and other issues in the java.xml.ws module
jjg
parents: 28887
diff changeset
    42
 *     <tr>
1edad689f56c 8186947: Fix accessibility and other issues in the java.xml.ws module
jjg
parents: 28887
diff changeset
    43
 *       <th scope="col">Enum Value</th>
1edad689f56c 8186947: Fix accessibility and other issues in the java.xml.ws module
jjg
parents: 28887
diff changeset
    44
 *       <th scope="col">XML Schema Value</th>
1edad689f56c 8186947: Fix accessibility and other issues in the java.xml.ws module
jjg
parents: 28887
diff changeset
    45
 *     </tr>
1edad689f56c 8186947: Fix accessibility and other issues in the java.xml.ws module
jjg
parents: 28887
diff changeset
    46
 *   </thead>
1edad689f56c 8186947: Fix accessibility and other issues in the java.xml.ws module
jjg
parents: 28887
diff changeset
    47
 *
12009
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    48
 *   <tbody>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    49
 *     <tr>
47210
1edad689f56c 8186947: Fix accessibility and other issues in the java.xml.ws module
jjg
parents: 28887
diff changeset
    50
 *       <th scope="row">UNQUALIFIED</th>
12009
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    51
 *       <td>unqualified</td>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    52
 *     </tr>
47210
1edad689f56c 8186947: Fix accessibility and other issues in the java.xml.ws module
jjg
parents: 28887
diff changeset
    53
 *     <tr>
1edad689f56c 8186947: Fix accessibility and other issues in the java.xml.ws module
jjg
parents: 28887
diff changeset
    54
 *       <th scope="row">QUALIFIED</th>
12009
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    55
 *       <td>qualified</td>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    56
 *     </tr>
47210
1edad689f56c 8186947: Fix accessibility and other issues in the java.xml.ws module
jjg
parents: 28887
diff changeset
    57
 *     <tr>
1edad689f56c 8186947: Fix accessibility and other issues in the java.xml.ws module
jjg
parents: 28887
diff changeset
    58
 *       <th scope="row">UNSET</th>
12009
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    59
 *       <td>namespace qualification attribute is absent from the
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    60
 *           XML Schema fragment</td>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    61
 *     </tr>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    62
 *   </tbody>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    63
 * </table>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    64
 *
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    65
 * @author Sekhar Vajjhala, Sun Microsystems, Inc.
25840
c2002453eec3 8047724: @since tag cleanup in jaxws
henryjen
parents: 19645
diff changeset
    66
 * @since 1.6, JAXB 2.0
12009
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    67
 */
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents:
diff changeset
    68
public enum XmlNsForm {UNQUALIFIED, QUALIFIED, UNSET}