KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > xerces > dom3 > as > ASDataType


1 /*
2  * Copyright (c) 2001 World Wide Web Consortium,
3  * (Massachusetts Institute of Technology, Institut National de
4  * Recherche en Informatique et en Automatique, Keio University). All
5  * Rights Reserved. This program is distributed under the W3C's Software
6  * Intellectual Property License. This program is distributed in the
7  * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
8  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  * PURPOSE.
10  * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
11  */

12
13 package org.apache.xerces.dom3.as;
14
15 /**
16  * @deprecated
17  * The datatypes supported by DOM AS implementations. Further datatypes may be
18  * added in the Schema/PSVI spec.
19  * <p>See also the <a HREF='http://www.w3.org/TR/2001/WD-DOM-Level-3-ASLS-20011025'>Document Object Model (DOM) Level 3 Abstract Schemas and Load
20 and Save Specification</a>.
21  */

22 public interface ASDataType {
23     /**
24      * One of the enumerated codes representing the data type.
25      */

26     public short getDataType();
27
28     // DATA_TYPES
29
/**
30      * A code representing the string data type as defined in .
31      */

32     public static final short STRING_DATATYPE = 1;
33     /**
34      * The NOTATION data type as defined in .
35      */

36     public static final short NOTATION_DATATYPE = 10;
37     /**
38      * The ID data type as defined in .
39      */

40     public static final short ID_DATATYPE = 11;
41     /**
42      * The IDREF data type as defined in .
43      */

44     public static final short IDREF_DATATYPE = 12;
45     /**
46      * The IDREFS data type as defined in .
47      */

48     public static final short IDREFS_DATATYPE = 13;
49     /**
50      * The ENTITY data type as defined in .
51      */

52     public static final short ENTITY_DATATYPE = 14;
53     /**
54      * The ENTITIES data type as defined in .
55      */

56     public static final short ENTITIES_DATATYPE = 15;
57     /**
58      * The NMTOKEN data type as defined in .
59      */

60     public static final short NMTOKEN_DATATYPE = 16;
61     /**
62      * The NMTOKENS data type as defined in .
63      */

64     public static final short NMTOKENS_DATATYPE = 17;
65     /**
66      * A code representing the boolean data type as defined in .
67      */

68     public static final short BOOLEAN_DATATYPE = 100;
69     /**
70      * A code representing the float data type as defined in .
71      */

72     public static final short FLOAT_DATATYPE = 101;
73     /**
74      * A code representing the double data type as defined in .
75      */

76     public static final short DOUBLE_DATATYPE = 102;
77     /**
78      * The decimal data type as defined in .
79      */

80     public static final short DECIMAL_DATATYPE = 103;
81     /**
82      * The hexbinary data type as defined in .
83      */

84     public static final short HEXBINARY_DATATYPE = 104;
85     /**
86      * The base64binary data type as defined in .
87      */

88     public static final short BASE64BINARY_DATATYPE = 105;
89     /**
90      * Then uri reference data type as defined in .
91      */

92     public static final short ANYURI_DATATYPE = 106;
93     /**
94      * Then XML qualified name data type as defined in .
95      */

96     public static final short QNAME_DATATYPE = 107;
97     /**
98      * The duration data type as defined in .
99      */

100     public static final short DURATION_DATATYPE = 108;
101     /**
102      * The datetime data type as defined in .
103      */

104     public static final short DATETIME_DATATYPE = 109;
105     /**
106      * The date data type as defined in .
107      */

108     public static final short DATE_DATATYPE = 110;
109     /**
110      * The time data type as defined in .
111      */

112     public static final short TIME_DATATYPE = 111;
113     /**
114      * The yearmonth data type as defined in .
115      */

116     public static final short GYEARMONTH_DATATYPE = 112;
117     /**
118      * The year data type as defined in .
119      */

120     public static final short GYEAR_DATATYPE = 113;
121     /**
122      * The monthday data type as defined in .
123      */

124     public static final short GMONTHDAY_DATATYPE = 114;
125     /**
126      * The day data type as defined in .
127      */

128     public static final short GDAY_DATATYPE = 115;
129     /**
130      * The month data type as defined in .
131      */

132     public static final short GMONTH_DATATYPE = 116;
133     /**
134      * The integer data type as defined in .
135      */

136     public static final short INTEGER = 117;
137     /**
138      * A code representing the Name data type as defined in .
139      */

140     public static final short NAME_DATATYPE = 200;
141     /**
142      * A code representing the NCName data type as defined in .
143      */

144     public static final short NCNAME_DATATYPE = 201;
145     /**
146      * A code representing the Normalized string data type as defined in .
147      */

148     public static final short NORMALIZEDSTRING_DATATYPE = 202;
149     /**
150      * The token data type as defined in .
151      */

152     public static final short TOKEN_DATATYPE = 203;
153     /**
154      * The Language data type as defined in .
155      */

156     public static final short LANGUAGE_DATATYPE = 204;
157     /**
158      * The Non-positive integer data type as defined in .
159      */

160     public static final short NONPOSITIVEINTEGER_DATATYPE = 205;
161     /**
162      * Then negative integer data type as defined in .
163      */

164     public static final short NEGATIVEINTEGER_DATATYPE = 206;
165     /**
166      * Then long data type as defined in .
167      */

168     public static final short LONG_DATATYPE = 207;
169     /**
170      * The integer data type as defined in .
171      */

172     public static final short INT_DATATYPE = 208;
173     /**
174      * The short data type as defined in .
175      */

176     public static final short SHORT_DATATYPE = 209;
177     /**
178      * The byte data type as defined in .
179      */

180     public static final short BYTE_DATATYPE = 210;
181     /**
182      * The non-negative integer data type as defined in .
183      */

184     public static final short NONNEGATIVEINTEGER_DATATYPE = 211;
185     /**
186      * The unsigned long data type as defined in .
187      */

188     public static final short UNSIGNEDLONG_DATATYPE = 212;
189     /**
190      * The unsigned integer data type as defined in .
191      */

192     public static final short UNSIGNEDINT_DATATYPE = 213;
193     /**
194      * The unsigned short data type as defined in .
195      */

196     public static final short UNSIGNEDSHORT_DATATYPE = 214;
197     /**
198      * The unsigned byte data type as defined in .
199      */

200     public static final short UNSIGNEDBYTE_DATATYPE = 215;
201     /**
202      * The positive integer data type as defined in .
203      */

204     public static final short POSITIVEINTEGER_DATATYPE = 216;
205     /**
206      * The other simple data type as defined in .
207      */

208     public static final short OTHER_SIMPLE_DATATYPE = 1000;
209     /**
210      * The user-defined complex data type as defined in .
211      */

212     public static final short COMPLEX_DATATYPE = 1001;
213
214 }
215
Popular Tags