-
Notifications
You must be signed in to change notification settings - Fork 11
/
XMLType.java
132 lines (125 loc) · 4.82 KB
/
XMLType.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
/*
* Copyright (c) 2003, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available under the following Secondary
* Licenses when the conditions for such availability set forth in the
* Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
* version 2 with the GNU Classpath Exception, which is available at
* https://www.gnu.org/software/classpath/license.html.
*
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
*/
package javax.xml.rpc.encoding;
/** QNames for XML Types
*
* @version 1.0
* @author Rahul Sharma
**/
import javax.xml.namespace.QName;
import javax.xml.rpc.NamespaceConstants;
/** Constants for common XML Schema and SOAP 1.1 types.
* @version 1.0
* @author Rahul Sharma
**/
public class XMLType {
/** The name of the <code>xsd:string</code> type.
**/
public static final QName XSD_STRING = new QName(
NamespaceConstants.NSURI_SCHEMA_XSD, "string");
/** The name of the <code>xsd:float</code> type.
**/
public static final QName XSD_FLOAT = new QName(
NamespaceConstants.NSURI_SCHEMA_XSD, "float");
/** The name of the <code>xsd:boolean</code> type.
**/
public static final QName XSD_BOOLEAN = new QName(
NamespaceConstants.NSURI_SCHEMA_XSD, "boolean");
/** The name of the <code>xsd:double</code> type.
**/
public static final QName XSD_DOUBLE = new QName(
NamespaceConstants.NSURI_SCHEMA_XSD, "double");
/** The name of the <code>xsd:integer</code> type.
**/
public static final QName XSD_INTEGER = new QName(
NamespaceConstants.NSURI_SCHEMA_XSD, "integer");
/** The name of the <code>xsd:int</code> type.
**/
public static final QName XSD_INT = new QName(
NamespaceConstants.NSURI_SCHEMA_XSD, "int");
/** The name of the <code>xsd:long</code> type.
**/
public static final QName XSD_LONG = new QName(
NamespaceConstants.NSURI_SCHEMA_XSD, "long");
/** The name of the <code>xsd:short</code> type.
**/
public static final QName XSD_SHORT = new QName(
NamespaceConstants.NSURI_SCHEMA_XSD, "short");
/** The name of the <code>xsd:decimal</code> type.
**/
public static final QName XSD_DECIMAL = new QName(
NamespaceConstants.NSURI_SCHEMA_XSD, "decimal");
/** The name of the <code>xsd:base64Binary</code> type.
**/
public static final QName XSD_BASE64 = new QName(
NamespaceConstants.NSURI_SCHEMA_XSD, "base64Binary");
/** The name of the <code>xsd:hexBinary</code> type.
**/
public static final QName XSD_HEXBINARY = new QName(
NamespaceConstants.NSURI_SCHEMA_XSD, "hexBinary");
/** The name of the <code>xsd:byte</code> type.
**/
public static final QName XSD_BYTE = new QName(
NamespaceConstants.NSURI_SCHEMA_XSD, "byte");
/** The name of the <code>xsd:dateTime</code> type.
**/
public static final QName XSD_DATETIME = new QName(
NamespaceConstants.NSURI_SCHEMA_XSD, "dateTime");
/** The name of the <code>xsd:QName</code> type.
**/
public static final QName XSD_QNAME = new QName(
NamespaceConstants.NSURI_SCHEMA_XSD, "QName");
/** The name of the <code>SOAP-ENC:string</code> type.
**/
public static final QName SOAP_STRING = new QName(
NamespaceConstants.NSURI_SOAP_ENCODING, "string");
/** The name of the <code>SOAP-ENC:boolean</code> type.
**/
public static final QName SOAP_BOOLEAN = new QName(
NamespaceConstants.NSURI_SOAP_ENCODING, "boolean");
/** The name of the <code>SOAP-ENC:double</code> type.
**/
public static final QName SOAP_DOUBLE = new QName(
NamespaceConstants.NSURI_SOAP_ENCODING, "double");
/** The name of the <code>SOAP-ENC:base64</code> type.
**/
public static final QName SOAP_BASE64 = new QName(
NamespaceConstants.NSURI_SOAP_ENCODING, "base64");
/** The name of the <code>SOAP-ENC:float</code> type.
**/
public static final QName SOAP_FLOAT = new QName(
NamespaceConstants.NSURI_SOAP_ENCODING, "float");
/** The name of the <code>SOAP-ENC:int</code> type.
**/
public static final QName SOAP_INT = new QName(
NamespaceConstants.NSURI_SOAP_ENCODING, "int");
/** The name of the <code>SOAP-ENC:long</code> type.
**/
public static final QName SOAP_LONG = new QName(
NamespaceConstants.NSURI_SOAP_ENCODING, "long");
/** The name of the <code>SOAP-ENC:short</code> type.
**/
public static final QName SOAP_SHORT = new QName(
NamespaceConstants.NSURI_SOAP_ENCODING, "short");
/** The name of the <code>SOAP-ENC:byte</code> type.
**/
public static final QName SOAP_BYTE = new QName(
NamespaceConstants.NSURI_SOAP_ENCODING, "byte");
/** The name of the <code>SOAP-ENC:Array</code> type.
**/
public static final QName SOAP_ARRAY = new QName(
NamespaceConstants.NSURI_SOAP_ENCODING, "Array");
}