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