Project

General

Profile

1 14 jones
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2
<!--NewPage-->
3
<html>
4
<head>
5
<!-- Generated by javadoc on Fri Sep 24 03:23:03 CEST 1999 -->
6
<title>
7
  Class de.tudarmstadt.ito.schemas.dtd.Attribute
8
</title>
9
</head>
10
<body>
11
<a name="_top_"></a>
12
<pre>
13
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-de.tudarmstadt.ito.schemas.dtd.html">This Package</a>  <a href="Package-de.tudarmstadt.ito.schemas.dtd.html">Previous</a>  <a href="de.tudarmstadt.ito.schemas.dtd.DTD.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
14
<hr>
15
<h1>
16
  Class de.tudarmstadt.ito.schemas.dtd.Attribute
17
</h1>
18
<pre>
19
java.lang.Object
20
   |
21
   +----de.tudarmstadt.ito.schemas.dtd.Attribute
22
</pre>
23
<hr>
24
<dl>
25
  <dt> public class <b>Attribute</b>
26
  <dt> extends Object
27
</dl>
28
Class representing an attribute.
29
<p>
30
<hr>
31
<a name="index"></a>
32
<h2>
33
  <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index">
34
</h2>
35
<dl>
36
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
37
	<a href="#defaultValue"><b>defaultValue</b></a>
38
  <dd> The attribute's default value.
39
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
40
	<a href="#enums"><b>enums</b></a>
41
  <dd>  The legal values for attributes with a type of TYPE_ENUMERATED or
42
 TYPE_NOTATION.
43
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
44
	<a href="#name"><b>name</b></a>
45
  <dd> The local, prefixed, and qualified names of the attribute.
46
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
47
	<a href="#required"><b>required</b></a>
48
  <dd> Whether the attribute is required and has a default.
49
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
50
	<a href="#REQUIRED_DEFAULT"><b>REQUIRED_DEFAULT</b></a>
51
  <dd> Attribute is optional and has a default.
52
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
53
	<a href="#REQUIRED_FIXED"><b>REQUIRED_FIXED</b></a>
54
  <dd> Attribute has a fixed default.
55
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
56
	<a href="#REQUIRED_OPTIONAL"><b>REQUIRED_OPTIONAL</b></a>
57
  <dd> Attribute is optional, no default.
58
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
59
	<a href="#REQUIRED_REQUIRED"><b>REQUIRED_REQUIRED</b></a>
60
  <dd> Attribute is required, no default.
61
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
62
	<a href="#REQUIRED_UNKNOWN"><b>REQUIRED_UNKNOWN</b></a>
63
  <dd> Default type unknown.
64
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
65
	<a href="#type"><b>type</b></a>
66
  <dd> The attribute type.
67
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
68
	<a href="#TYPE_CDATA"><b>TYPE_CDATA</b></a>
69
  <dd> Attribute type CDATA.
70
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
71
	<a href="#TYPE_ENTITIES"><b>TYPE_ENTITIES</b></a>
72
  <dd> Attribute type ENTITIES.
73
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
74
	<a href="#TYPE_ENTITY"><b>TYPE_ENTITY</b></a>
75
  <dd> Attribute type ENTITY.
76
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
77
	<a href="#TYPE_ENUMERATED"><b>TYPE_ENUMERATED</b></a>
78
  <dd> Enumerated attribute type.
79
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
80
	<a href="#TYPE_ID"><b>TYPE_ID</b></a>
81
  <dd> Attribute type ID.
82
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
83
	<a href="#TYPE_IDREF"><b>TYPE_IDREF</b></a>
84
  <dd> Attribute type IDREF.
85
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
86
	<a href="#TYPE_IDREFS"><b>TYPE_IDREFS</b></a>
87
  <dd> Attribute type IDREFS.
88
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
89
	<a href="#TYPE_NMTOKEN"><b>TYPE_NMTOKEN</b></a>
90
  <dd> Attribute type NMTOKEN.
91
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
92
	<a href="#TYPE_NMTOKENS"><b>TYPE_NMTOKENS</b></a>
93
  <dd> Attribute type NMTOKENS.
94
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
95
	<a href="#TYPE_NOTATION"><b>TYPE_NOTATION</b></a>
96
  <dd> Notation attribute type.
97
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
98
	<a href="#TYPE_UNKNOWN"><b>TYPE_UNKNOWN</b></a>
99
  <dd> Attribute type unknown.
100
</dl>
101
<h2>
102
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
103
</h2>
104
<dl>
105
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
106
	<a href="#Attribute()"><b>Attribute</b></a>()
107
  <dd> Construct a new Attribute.
108
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
109
	<a href="#Attribute(de.tudarmstadt.ito.utils.NSName)"><b>Attribute</b></a>(NSName)
110
  <dd>  Construct a new Attribute from its local, prefixed and qualified names.
111
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
112
	<a href="#Attribute(java.lang.String, java.lang.String, java.lang.String)"><b>Attribute</b></a>(String, String, String)
113
  <dd>  Construct a new Attribute from its local name, prefix, and namespace URI.
114
</dl>
115
<a name="variables"></a>
116
<h2>
117
  <img src="images/variables.gif" width=153 height=38 alt="Variables">
118
</h2>
119
<a name="TYPE_UNKNOWN"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
120
<b>TYPE_UNKNOWN</b>
121
<pre>
122
 public static final int TYPE_UNKNOWN
123
</pre>
124
<dl>
125
  <dd> Attribute type unknown.<p>
126
</dl>
127
<a name="TYPE_CDATA"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
128
<b>TYPE_CDATA</b>
129
<pre>
130
 public static final int TYPE_CDATA
131
</pre>
132
<dl>
133
  <dd> Attribute type CDATA.<p>
134
</dl>
135
<a name="TYPE_ID"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
136
<b>TYPE_ID</b>
137
<pre>
138
 public static final int TYPE_ID
139
</pre>
140
<dl>
141
  <dd> Attribute type ID.<p>
142
</dl>
143
<a name="TYPE_IDREF"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
144
<b>TYPE_IDREF</b>
145
<pre>
146
 public static final int TYPE_IDREF
147
</pre>
148
<dl>
149
  <dd> Attribute type IDREF.<p>
150
</dl>
151
<a name="TYPE_IDREFS"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
152
<b>TYPE_IDREFS</b>
153
<pre>
154
 public static final int TYPE_IDREFS
155
</pre>
156
<dl>
157
  <dd> Attribute type IDREFS.<p>
158
</dl>
159
<a name="TYPE_ENTITY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
160
<b>TYPE_ENTITY</b>
161
<pre>
162
 public static final int TYPE_ENTITY
163
</pre>
164
<dl>
165
  <dd> Attribute type ENTITY.<p>
166
</dl>
167
<a name="TYPE_ENTITIES"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
168
<b>TYPE_ENTITIES</b>
169
<pre>
170
 public static final int TYPE_ENTITIES
171
</pre>
172
<dl>
173
  <dd> Attribute type ENTITIES.<p>
174
</dl>
175
<a name="TYPE_NMTOKEN"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
176
<b>TYPE_NMTOKEN</b>
177
<pre>
178
 public static final int TYPE_NMTOKEN
179
</pre>
180
<dl>
181
  <dd> Attribute type NMTOKEN.<p>
182
</dl>
183
<a name="TYPE_NMTOKENS"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
184
<b>TYPE_NMTOKENS</b>
185
<pre>
186
 public static final int TYPE_NMTOKENS
187
</pre>
188
<dl>
189
  <dd> Attribute type NMTOKENS.<p>
190
</dl>
191
<a name="TYPE_ENUMERATED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
192
<b>TYPE_ENUMERATED</b>
193
<pre>
194
 public static final int TYPE_ENUMERATED
195
</pre>
196
<dl>
197
  <dd> Enumerated attribute type.<p>
198
</dl>
199
<a name="TYPE_NOTATION"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
200
<b>TYPE_NOTATION</b>
201
<pre>
202
 public static final int TYPE_NOTATION
203
</pre>
204
<dl>
205
  <dd> Notation attribute type.<p>
206
</dl>
207
<a name="REQUIRED_UNKNOWN"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
208
<b>REQUIRED_UNKNOWN</b>
209
<pre>
210
 public static final int REQUIRED_UNKNOWN
211
</pre>
212
<dl>
213
  <dd> Default type unknown.<p>
214
</dl>
215
<a name="REQUIRED_REQUIRED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
216
<b>REQUIRED_REQUIRED</b>
217
<pre>
218
 public static final int REQUIRED_REQUIRED
219
</pre>
220
<dl>
221
  <dd> Attribute is required, no default. Corresponds to #REQUIRED.<p>
222
</dl>
223
<a name="REQUIRED_OPTIONAL"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
224
<b>REQUIRED_OPTIONAL</b>
225
<pre>
226
 public static final int REQUIRED_OPTIONAL
227
</pre>
228
<dl>
229
  <dd> Attribute is optional, no default. Corresponds to #IMPLIED.<p>
230
</dl>
231
<a name="REQUIRED_FIXED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
232
<b>REQUIRED_FIXED</b>
233
<pre>
234
 public static final int REQUIRED_FIXED
235
</pre>
236
<dl>
237
  <dd> Attribute has a fixed default. Corresponds to #FIXED <default>.<p>
238
</dl>
239
<a name="REQUIRED_DEFAULT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
240
<b>REQUIRED_DEFAULT</b>
241
<pre>
242
 public static final int REQUIRED_DEFAULT
243
</pre>
244
<dl>
245
  <dd> Attribute is optional and has a default. Corresponds to <default>.<p>
246
</dl>
247
<a name="name"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
248
<b>name</b>
249
<pre>
250
 public <a href="de.tudarmstadt.ito.utils.NSName.html#_top_">NSName</a> name
251
</pre>
252
<dl>
253
  <dd> The local, prefixed, and qualified names of the attribute.<p>
254
</dl>
255
<a name="type"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
256
<b>type</b>
257
<pre>
258
 public int type
259
</pre>
260
<dl>
261
  <dd> The attribute type.<p>
262
</dl>
263
<a name="required"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
264
<b>required</b>
265
<pre>
266
 public int required
267
</pre>
268
<dl>
269
  <dd> Whether the attribute is required and has a default.<p>
270
</dl>
271
<a name="defaultValue"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
272
<b>defaultValue</b>
273
<pre>
274
 public String defaultValue
275
</pre>
276
<dl>
277
  <dd> The attribute's default value. May be null.<p>
278
</dl>
279
<a name="enums"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
280
<b>enums</b>
281
<pre>
282
 public Vector enums
283
</pre>
284
<dl>
285
  <dd> The legal values for attributes with a type of TYPE_ENUMERATED or
286
 TYPE_NOTATION. Otherwise null.<p>
287
</dl>
288
<a name="constructors"></a>
289
<h2>
290
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
291
</h2>
292
<a name="Attribute"></a>
293
<a name="Attribute()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
294
<b>Attribute</b>
295
<pre>
296
 public Attribute()
297
</pre>
298
<dl>
299
  <dd> Construct a new Attribute.
300
<p>
301
</dl>
302
<a name="Attribute(java.lang.String, java.lang.String, java.lang.String)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
303
<b>Attribute</b>
304
<pre>
305
 public Attribute(String local,
306
                  String prefix,
307
                  String uri)
308
</pre>
309
<dl>
310
  <dd> Construct a new Attribute from its local name, prefix, and namespace URI.
311
<p>
312
</dl>
313
<a name="Attribute(de.tudarmstadt.ito.utils.NSName)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
314
<b>Attribute</b>
315
<pre>
316
 public Attribute(<a href="de.tudarmstadt.ito.utils.NSName.html#_top_">NSName</a> name)
317
</pre>
318
<dl>
319
  <dd> Construct a new Attribute from its local, prefixed and qualified names.
320
<p>
321
</dl>
322
<hr>
323
<pre>
324
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-de.tudarmstadt.ito.schemas.dtd.html">This Package</a>  <a href="Package-de.tudarmstadt.ito.schemas.dtd.html">Previous</a>  <a href="de.tudarmstadt.ito.schemas.dtd.DTD.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
325
</body>
326
</html>