Tue, 06 Mar 2012 16:09:35 -0800
7150322: Stop using drop source bundles in jaxws
Reviewed-by: darcy, ohrstrom
1 /*
2 * Copyright (c) 1997, 2010, 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 */
26 package com.sun.tools.internal.ws.wsdl.document.schema;
28 import javax.xml.namespace.QName;
30 /**
31 *
32 * @author WS Development Team
33 */
34 public interface SchemaConstants {
36 // namespace URIs
37 public static String NS_XMLNS = "http://www.w3.org/2000/xmlns/";
38 public static String NS_XSD = "http://www.w3.org/2001/XMLSchema";
39 public static String NS_XSI = "http://www.w3.org/2001/XMLSchema-instance";
41 // QNames
42 public static QName QNAME_ALL = new QName(NS_XSD, "all");
43 public static QName QNAME_ANNOTATION = new QName(NS_XSD, "annotation");
44 public static QName QNAME_ANY = new QName(NS_XSD, "any");
45 public static QName QNAME_ANY_ATTRIBUTE = new QName(NS_XSD, "anyAttribute");
46 public static QName QNAME_ATTRIBUTE = new QName(NS_XSD, "attribute");
47 public static QName QNAME_ATTRIBUTE_GROUP =
48 new QName(NS_XSD, "attributeGroup");
49 public static QName QNAME_CHOICE = new QName(NS_XSD, "choice");
50 public static QName QNAME_COMPLEX_CONTENT =
51 new QName(NS_XSD, "complexContent");
52 public static QName QNAME_COMPLEX_TYPE = new QName(NS_XSD, "complexType");
53 public static QName QNAME_ELEMENT = new QName(NS_XSD, "element");
54 public static QName QNAME_ENUMERATION = new QName(NS_XSD, "enumeration");
55 public static QName QNAME_EXTENSION = new QName(NS_XSD, "extension");
56 public static QName QNAME_FIELD = new QName(NS_XSD, "field");
57 public static QName QNAME_FRACTION_DIGITS =
58 new QName(NS_XSD, "fractionDigits");
59 public static QName QNAME_GROUP = new QName(NS_XSD, "group");
60 public static QName QNAME_IMPORT = new QName(NS_XSD, "import");
61 public static QName QNAME_INCLUDE = new QName(NS_XSD, "include");
62 public static QName QNAME_KEY = new QName(NS_XSD, "key");
63 public static QName QNAME_KEYREF = new QName(NS_XSD, "keyref");
64 public static QName QNAME_LENGTH = new QName(NS_XSD, "length");
65 public static QName QNAME_LIST = new QName(NS_XSD, "list");
66 public static QName QNAME_MAX_EXCLUSIVE = new QName(NS_XSD, "maxExclusive");
67 public static QName QNAME_MAX_INCLUSIVE = new QName(NS_XSD, "maxInclusive");
68 public static QName QNAME_MAX_LENGTH = new QName(NS_XSD, "maxLength");
69 public static QName QNAME_MIN_EXCLUSIVE = new QName(NS_XSD, "minExclusive");
70 public static QName QNAME_MIN_INCLUSIVE = new QName(NS_XSD, "minInclusive");
71 public static QName QNAME_MIN_LENGTH = new QName(NS_XSD, "minLength");
72 public static QName QNAME_NOTATION = new QName(NS_XSD, "notation");
73 public static QName QNAME_RESTRICTION = new QName(NS_XSD, "restriction");
74 public static QName QNAME_PATTERN = new QName(NS_XSD, "pattern");
75 public static QName QNAME_PRECISION = new QName(NS_XSD, "precision");
76 public static QName QNAME_REDEFINE = new QName(NS_XSD, "redefine");
77 public static QName QNAME_SCALE = new QName(NS_XSD, "scale");
78 public static QName QNAME_SCHEMA = new QName(NS_XSD, "schema");
79 public static QName QNAME_SELECTOR = new QName(NS_XSD, "selector");
80 public static QName QNAME_SEQUENCE = new QName(NS_XSD, "sequence");
81 public static QName QNAME_SIMPLE_CONTENT =
82 new QName(NS_XSD, "simpleContent");
83 public static QName QNAME_SIMPLE_TYPE = new QName(NS_XSD, "simpleType");
84 public static QName QNAME_TOTAL_DIGITS = new QName(NS_XSD, "totalDigits");
85 public static QName QNAME_UNIQUE = new QName(NS_XSD, "unique");
86 public static QName QNAME_UNION = new QName(NS_XSD, "union");
87 public static QName QNAME_WHITE_SPACE = new QName(NS_XSD, "whiteSpace");
89 // QNames for built-in XSD types
90 public static QName QNAME_TYPE_STRING = new QName(NS_XSD, "string");
91 public static QName QNAME_TYPE_NORMALIZED_STRING =
92 new QName(NS_XSD, "normalizedString");
93 public static QName QNAME_TYPE_TOKEN = new QName(NS_XSD, "token");
94 public static QName QNAME_TYPE_BYTE = new QName(NS_XSD, "byte");
95 public static QName QNAME_TYPE_UNSIGNED_BYTE =
96 new QName(NS_XSD, "unsignedByte");
97 public static QName QNAME_TYPE_BASE64_BINARY =
98 new QName(NS_XSD, "base64Binary");
99 public static QName QNAME_TYPE_HEX_BINARY = new QName(NS_XSD, "hexBinary");
100 public static QName QNAME_TYPE_INTEGER = new QName(NS_XSD, "integer");
101 public static QName QNAME_TYPE_POSITIVE_INTEGER =
102 new QName(NS_XSD, "positiveInteger");
103 public static QName QNAME_TYPE_NEGATIVE_INTEGER =
104 new QName(NS_XSD, "negativeInteger");
105 public static QName QNAME_TYPE_NON_NEGATIVE_INTEGER =
106 new QName(NS_XSD, "nonNegativeInteger");
107 public static QName QNAME_TYPE_NON_POSITIVE_INTEGER =
108 new QName(NS_XSD, "nonPositiveInteger");
109 public static QName QNAME_TYPE_INT = new QName(NS_XSD, "int");
110 public static QName QNAME_TYPE_UNSIGNED_INT =
111 new QName(NS_XSD, "unsignedInt");
112 public static QName QNAME_TYPE_LONG = new QName(NS_XSD, "long");
113 public static QName QNAME_TYPE_UNSIGNED_LONG =
114 new QName(NS_XSD, "unsignedLong");
115 public static QName QNAME_TYPE_SHORT = new QName(NS_XSD, "short");
116 public static QName QNAME_TYPE_UNSIGNED_SHORT =
117 new QName(NS_XSD, "unsignedShort");
118 public static QName QNAME_TYPE_DECIMAL = new QName(NS_XSD, "decimal");
119 public static QName QNAME_TYPE_FLOAT = new QName(NS_XSD, "float");
120 public static QName QNAME_TYPE_DOUBLE = new QName(NS_XSD, "double");
121 public static QName QNAME_TYPE_BOOLEAN = new QName(NS_XSD, "boolean");
122 public static QName QNAME_TYPE_TIME = new QName(NS_XSD, "time");
123 public static QName QNAME_TYPE_DATE_TIME = new QName(NS_XSD, "dateTime");
124 public static QName QNAME_TYPE_DURATION = new QName(NS_XSD, "duration");
125 public static QName QNAME_TYPE_DATE = new QName(NS_XSD, "date");
126 public static QName QNAME_TYPE_G_MONTH = new QName(NS_XSD, "gMonth");
127 public static QName QNAME_TYPE_G_YEAR = new QName(NS_XSD, "gYear");
128 public static QName QNAME_TYPE_G_YEAR_MONTH =
129 new QName(NS_XSD, "gYearMonth");
130 public static QName QNAME_TYPE_G_DAY = new QName(NS_XSD, "gDay");
131 public static QName QNAME_TYPE_G_MONTH_DAY = new QName(NS_XSD, "gMonthDay");
132 public static QName QNAME_TYPE_NAME = new QName(NS_XSD, "Name");
133 public static QName QNAME_TYPE_QNAME = new QName(NS_XSD, "QName");
134 public static QName QNAME_TYPE_NCNAME = new QName(NS_XSD, "NCName");
135 public static QName QNAME_TYPE_ANY_URI = new QName(NS_XSD, "anyURI");
136 public static QName QNAME_TYPE_ID = new QName(NS_XSD, "ID");
137 public static QName QNAME_TYPE_IDREF = new QName(NS_XSD, "IDREF");
138 public static QName QNAME_TYPE_IDREFS = new QName(NS_XSD, "IDREFS");
139 public static QName QNAME_TYPE_ENTITY = new QName(NS_XSD, "ENTITY");
140 public static QName QNAME_TYPE_ENTITIES = new QName(NS_XSD, "ENTITIES");
141 public static QName QNAME_TYPE_NOTATION = new QName(NS_XSD, "NOTATION");
142 public static QName QNAME_TYPE_NMTOKEN = new QName(NS_XSD, "NMTOKEN");
143 public static QName QNAME_TYPE_NMTOKENS = new QName(NS_XSD, "NMTOKENS");
145 public static QName QNAME_TYPE_LANGUAGE = new QName(NS_XSD, "language");
147 // QNames for special types
148 public static QName QNAME_TYPE_URTYPE = new QName(NS_XSD, "anyType");
149 public static QName QNAME_TYPE_SIMPLE_URTYPE =
150 new QName(NS_XSD, "anySimpleType");
151 }