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