Tue, 06 Mar 2012 16:09:35 -0800
7150322: Stop using drop source bundles in jaxws
Reviewed-by: darcy, ohrstrom
ohair@286 | 1 | /* |
ohair@286 | 2 | * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. |
ohair@286 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
ohair@286 | 4 | * |
ohair@286 | 5 | * This code is free software; you can redistribute it and/or modify it |
ohair@286 | 6 | * under the terms of the GNU General Public License version 2 only, as |
ohair@286 | 7 | * published by the Free Software Foundation. Oracle designates this |
ohair@286 | 8 | * particular file as subject to the "Classpath" exception as provided |
ohair@286 | 9 | * by Oracle in the LICENSE file that accompanied this code. |
ohair@286 | 10 | * |
ohair@286 | 11 | * This code is distributed in the hope that it will be useful, but WITHOUT |
ohair@286 | 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
ohair@286 | 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
ohair@286 | 14 | * version 2 for more details (a copy is included in the LICENSE file that |
ohair@286 | 15 | * accompanied this code). |
ohair@286 | 16 | * |
ohair@286 | 17 | * You should have received a copy of the GNU General Public License version |
ohair@286 | 18 | * 2 along with this work; if not, write to the Free Software Foundation, |
ohair@286 | 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
ohair@286 | 20 | * |
ohair@286 | 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
ohair@286 | 22 | * or visit www.oracle.com if you need additional information or have any |
ohair@286 | 23 | * questions. |
ohair@286 | 24 | */ |
ohair@286 | 25 | |
ohair@286 | 26 | package com.sun.tools.internal.ws.wsdl.document.schema; |
ohair@286 | 27 | |
ohair@286 | 28 | import javax.xml.namespace.QName; |
ohair@286 | 29 | |
ohair@286 | 30 | /** |
ohair@286 | 31 | * |
ohair@286 | 32 | * @author WS Development Team |
ohair@286 | 33 | */ |
ohair@286 | 34 | public interface SchemaConstants { |
ohair@286 | 35 | |
ohair@286 | 36 | // namespace URIs |
ohair@286 | 37 | public static String NS_XMLNS = "http://www.w3.org/2000/xmlns/"; |
ohair@286 | 38 | public static String NS_XSD = "http://www.w3.org/2001/XMLSchema"; |
ohair@286 | 39 | public static String NS_XSI = "http://www.w3.org/2001/XMLSchema-instance"; |
ohair@286 | 40 | |
ohair@286 | 41 | // QNames |
ohair@286 | 42 | public static QName QNAME_ALL = new QName(NS_XSD, "all"); |
ohair@286 | 43 | public static QName QNAME_ANNOTATION = new QName(NS_XSD, "annotation"); |
ohair@286 | 44 | public static QName QNAME_ANY = new QName(NS_XSD, "any"); |
ohair@286 | 45 | public static QName QNAME_ANY_ATTRIBUTE = new QName(NS_XSD, "anyAttribute"); |
ohair@286 | 46 | public static QName QNAME_ATTRIBUTE = new QName(NS_XSD, "attribute"); |
ohair@286 | 47 | public static QName QNAME_ATTRIBUTE_GROUP = |
ohair@286 | 48 | new QName(NS_XSD, "attributeGroup"); |
ohair@286 | 49 | public static QName QNAME_CHOICE = new QName(NS_XSD, "choice"); |
ohair@286 | 50 | public static QName QNAME_COMPLEX_CONTENT = |
ohair@286 | 51 | new QName(NS_XSD, "complexContent"); |
ohair@286 | 52 | public static QName QNAME_COMPLEX_TYPE = new QName(NS_XSD, "complexType"); |
ohair@286 | 53 | public static QName QNAME_ELEMENT = new QName(NS_XSD, "element"); |
ohair@286 | 54 | public static QName QNAME_ENUMERATION = new QName(NS_XSD, "enumeration"); |
ohair@286 | 55 | public static QName QNAME_EXTENSION = new QName(NS_XSD, "extension"); |
ohair@286 | 56 | public static QName QNAME_FIELD = new QName(NS_XSD, "field"); |
ohair@286 | 57 | public static QName QNAME_FRACTION_DIGITS = |
ohair@286 | 58 | new QName(NS_XSD, "fractionDigits"); |
ohair@286 | 59 | public static QName QNAME_GROUP = new QName(NS_XSD, "group"); |
ohair@286 | 60 | public static QName QNAME_IMPORT = new QName(NS_XSD, "import"); |
ohair@286 | 61 | public static QName QNAME_INCLUDE = new QName(NS_XSD, "include"); |
ohair@286 | 62 | public static QName QNAME_KEY = new QName(NS_XSD, "key"); |
ohair@286 | 63 | public static QName QNAME_KEYREF = new QName(NS_XSD, "keyref"); |
ohair@286 | 64 | public static QName QNAME_LENGTH = new QName(NS_XSD, "length"); |
ohair@286 | 65 | public static QName QNAME_LIST = new QName(NS_XSD, "list"); |
ohair@286 | 66 | public static QName QNAME_MAX_EXCLUSIVE = new QName(NS_XSD, "maxExclusive"); |
ohair@286 | 67 | public static QName QNAME_MAX_INCLUSIVE = new QName(NS_XSD, "maxInclusive"); |
ohair@286 | 68 | public static QName QNAME_MAX_LENGTH = new QName(NS_XSD, "maxLength"); |
ohair@286 | 69 | public static QName QNAME_MIN_EXCLUSIVE = new QName(NS_XSD, "minExclusive"); |
ohair@286 | 70 | public static QName QNAME_MIN_INCLUSIVE = new QName(NS_XSD, "minInclusive"); |
ohair@286 | 71 | public static QName QNAME_MIN_LENGTH = new QName(NS_XSD, "minLength"); |
ohair@286 | 72 | public static QName QNAME_NOTATION = new QName(NS_XSD, "notation"); |
ohair@286 | 73 | public static QName QNAME_RESTRICTION = new QName(NS_XSD, "restriction"); |
ohair@286 | 74 | public static QName QNAME_PATTERN = new QName(NS_XSD, "pattern"); |
ohair@286 | 75 | public static QName QNAME_PRECISION = new QName(NS_XSD, "precision"); |
ohair@286 | 76 | public static QName QNAME_REDEFINE = new QName(NS_XSD, "redefine"); |
ohair@286 | 77 | public static QName QNAME_SCALE = new QName(NS_XSD, "scale"); |
ohair@286 | 78 | public static QName QNAME_SCHEMA = new QName(NS_XSD, "schema"); |
ohair@286 | 79 | public static QName QNAME_SELECTOR = new QName(NS_XSD, "selector"); |
ohair@286 | 80 | public static QName QNAME_SEQUENCE = new QName(NS_XSD, "sequence"); |
ohair@286 | 81 | public static QName QNAME_SIMPLE_CONTENT = |
ohair@286 | 82 | new QName(NS_XSD, "simpleContent"); |
ohair@286 | 83 | public static QName QNAME_SIMPLE_TYPE = new QName(NS_XSD, "simpleType"); |
ohair@286 | 84 | public static QName QNAME_TOTAL_DIGITS = new QName(NS_XSD, "totalDigits"); |
ohair@286 | 85 | public static QName QNAME_UNIQUE = new QName(NS_XSD, "unique"); |
ohair@286 | 86 | public static QName QNAME_UNION = new QName(NS_XSD, "union"); |
ohair@286 | 87 | public static QName QNAME_WHITE_SPACE = new QName(NS_XSD, "whiteSpace"); |
ohair@286 | 88 | |
ohair@286 | 89 | // QNames for built-in XSD types |
ohair@286 | 90 | public static QName QNAME_TYPE_STRING = new QName(NS_XSD, "string"); |
ohair@286 | 91 | public static QName QNAME_TYPE_NORMALIZED_STRING = |
ohair@286 | 92 | new QName(NS_XSD, "normalizedString"); |
ohair@286 | 93 | public static QName QNAME_TYPE_TOKEN = new QName(NS_XSD, "token"); |
ohair@286 | 94 | public static QName QNAME_TYPE_BYTE = new QName(NS_XSD, "byte"); |
ohair@286 | 95 | public static QName QNAME_TYPE_UNSIGNED_BYTE = |
ohair@286 | 96 | new QName(NS_XSD, "unsignedByte"); |
ohair@286 | 97 | public static QName QNAME_TYPE_BASE64_BINARY = |
ohair@286 | 98 | new QName(NS_XSD, "base64Binary"); |
ohair@286 | 99 | public static QName QNAME_TYPE_HEX_BINARY = new QName(NS_XSD, "hexBinary"); |
ohair@286 | 100 | public static QName QNAME_TYPE_INTEGER = new QName(NS_XSD, "integer"); |
ohair@286 | 101 | public static QName QNAME_TYPE_POSITIVE_INTEGER = |
ohair@286 | 102 | new QName(NS_XSD, "positiveInteger"); |
ohair@286 | 103 | public static QName QNAME_TYPE_NEGATIVE_INTEGER = |
ohair@286 | 104 | new QName(NS_XSD, "negativeInteger"); |
ohair@286 | 105 | public static QName QNAME_TYPE_NON_NEGATIVE_INTEGER = |
ohair@286 | 106 | new QName(NS_XSD, "nonNegativeInteger"); |
ohair@286 | 107 | public static QName QNAME_TYPE_NON_POSITIVE_INTEGER = |
ohair@286 | 108 | new QName(NS_XSD, "nonPositiveInteger"); |
ohair@286 | 109 | public static QName QNAME_TYPE_INT = new QName(NS_XSD, "int"); |
ohair@286 | 110 | public static QName QNAME_TYPE_UNSIGNED_INT = |
ohair@286 | 111 | new QName(NS_XSD, "unsignedInt"); |
ohair@286 | 112 | public static QName QNAME_TYPE_LONG = new QName(NS_XSD, "long"); |
ohair@286 | 113 | public static QName QNAME_TYPE_UNSIGNED_LONG = |
ohair@286 | 114 | new QName(NS_XSD, "unsignedLong"); |
ohair@286 | 115 | public static QName QNAME_TYPE_SHORT = new QName(NS_XSD, "short"); |
ohair@286 | 116 | public static QName QNAME_TYPE_UNSIGNED_SHORT = |
ohair@286 | 117 | new QName(NS_XSD, "unsignedShort"); |
ohair@286 | 118 | public static QName QNAME_TYPE_DECIMAL = new QName(NS_XSD, "decimal"); |
ohair@286 | 119 | public static QName QNAME_TYPE_FLOAT = new QName(NS_XSD, "float"); |
ohair@286 | 120 | public static QName QNAME_TYPE_DOUBLE = new QName(NS_XSD, "double"); |
ohair@286 | 121 | public static QName QNAME_TYPE_BOOLEAN = new QName(NS_XSD, "boolean"); |
ohair@286 | 122 | public static QName QNAME_TYPE_TIME = new QName(NS_XSD, "time"); |
ohair@286 | 123 | public static QName QNAME_TYPE_DATE_TIME = new QName(NS_XSD, "dateTime"); |
ohair@286 | 124 | public static QName QNAME_TYPE_DURATION = new QName(NS_XSD, "duration"); |
ohair@286 | 125 | public static QName QNAME_TYPE_DATE = new QName(NS_XSD, "date"); |
ohair@286 | 126 | public static QName QNAME_TYPE_G_MONTH = new QName(NS_XSD, "gMonth"); |
ohair@286 | 127 | public static QName QNAME_TYPE_G_YEAR = new QName(NS_XSD, "gYear"); |
ohair@286 | 128 | public static QName QNAME_TYPE_G_YEAR_MONTH = |
ohair@286 | 129 | new QName(NS_XSD, "gYearMonth"); |
ohair@286 | 130 | public static QName QNAME_TYPE_G_DAY = new QName(NS_XSD, "gDay"); |
ohair@286 | 131 | public static QName QNAME_TYPE_G_MONTH_DAY = new QName(NS_XSD, "gMonthDay"); |
ohair@286 | 132 | public static QName QNAME_TYPE_NAME = new QName(NS_XSD, "Name"); |
ohair@286 | 133 | public static QName QNAME_TYPE_QNAME = new QName(NS_XSD, "QName"); |
ohair@286 | 134 | public static QName QNAME_TYPE_NCNAME = new QName(NS_XSD, "NCName"); |
ohair@286 | 135 | public static QName QNAME_TYPE_ANY_URI = new QName(NS_XSD, "anyURI"); |
ohair@286 | 136 | public static QName QNAME_TYPE_ID = new QName(NS_XSD, "ID"); |
ohair@286 | 137 | public static QName QNAME_TYPE_IDREF = new QName(NS_XSD, "IDREF"); |
ohair@286 | 138 | public static QName QNAME_TYPE_IDREFS = new QName(NS_XSD, "IDREFS"); |
ohair@286 | 139 | public static QName QNAME_TYPE_ENTITY = new QName(NS_XSD, "ENTITY"); |
ohair@286 | 140 | public static QName QNAME_TYPE_ENTITIES = new QName(NS_XSD, "ENTITIES"); |
ohair@286 | 141 | public static QName QNAME_TYPE_NOTATION = new QName(NS_XSD, "NOTATION"); |
ohair@286 | 142 | public static QName QNAME_TYPE_NMTOKEN = new QName(NS_XSD, "NMTOKEN"); |
ohair@286 | 143 | public static QName QNAME_TYPE_NMTOKENS = new QName(NS_XSD, "NMTOKENS"); |
ohair@286 | 144 | |
ohair@286 | 145 | public static QName QNAME_TYPE_LANGUAGE = new QName(NS_XSD, "language"); |
ohair@286 | 146 | |
ohair@286 | 147 | // QNames for special types |
ohair@286 | 148 | public static QName QNAME_TYPE_URTYPE = new QName(NS_XSD, "anyType"); |
ohair@286 | 149 | public static QName QNAME_TYPE_SIMPLE_URTYPE = |
ohair@286 | 150 | new QName(NS_XSD, "anySimpleType"); |
ohair@286 | 151 | } |