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.Particle
|
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="de.tudarmstadt.ito.schemas.dtd.ParsedGeneralEntity.html#_top_">Previous</a> <a href="de.tudarmstadt.ito.schemas.dtd.Reference.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre>
|
14 |
|
|
<hr>
|
15 |
|
|
<h1>
|
16 |
|
|
Class de.tudarmstadt.ito.schemas.dtd.Particle
|
17 |
|
|
</h1>
|
18 |
|
|
<pre>
|
19 |
|
|
java.lang.Object
|
20 |
|
|
|
|
21 |
|
|
+----de.tudarmstadt.ito.schemas.dtd.Particle
|
22 |
|
|
</pre>
|
23 |
|
|
<hr>
|
24 |
|
|
<dl>
|
25 |
|
|
<dt> public class <b>Particle</b>
|
26 |
|
|
<dt> extends Object
|
27 |
|
|
</dl>
|
28 |
|
|
Class representing a content particle in a content model. This is
|
29 |
|
|
the base class for Group and Reference.
|
30 |
|
|
<p>
|
31 |
|
|
<hr>
|
32 |
|
|
<a name="index"></a>
|
33 |
|
|
<h2>
|
34 |
|
|
<img src="images/variable-index.gif" width=207 height=38 alt="Variable Index">
|
35 |
|
|
</h2>
|
36 |
|
|
<dl>
|
37 |
|
|
<dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
|
38 |
|
|
<a href="#isRepeatable"><b>isRepeatable</b></a>
|
39 |
|
|
<dd> Whether the particle may be repeated.
|
40 |
|
|
<dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
|
41 |
|
|
<a href="#isRequired"><b>isRequired</b></a>
|
42 |
|
|
<dd> Whether the particle is required.
|
43 |
|
|
<dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
|
44 |
|
|
<a href="#PARTICLE_CHOICE"><b>PARTICLE_CHOICE</b></a>
|
45 |
|
|
<dd> Content particle is a choice group (Group).
|
46 |
|
|
<dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
|
47 |
|
|
<a href="#PARTICLE_ELEMENTTYPEREF"><b>PARTICLE_ELEMENTTYPEREF</b></a>
|
48 |
|
|
<dd> Content particle is a reference to an element type (Reference).
|
49 |
|
|
<dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
|
50 |
|
|
<a href="#PARTICLE_SEQUENCE"><b>PARTICLE_SEQUENCE</b></a>
|
51 |
|
|
<dd> Content particle is a sequence group (Group).
|
52 |
|
|
<dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
|
53 |
|
|
<a href="#PARTICLE_UNKNOWN"><b>PARTICLE_UNKNOWN</b></a>
|
54 |
|
|
<dd> Content particle type unknown.
|
55 |
|
|
<dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
|
56 |
|
|
<a href="#type"><b>type</b></a>
|
57 |
|
|
<dd> Content particle type.
|
58 |
|
|
</dl>
|
59 |
|
|
<h2>
|
60 |
|
|
<img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
|
61 |
|
|
</h2>
|
62 |
|
|
<dl>
|
63 |
|
|
<dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
|
64 |
|
|
<a href="#Particle()"><b>Particle</b></a>()
|
65 |
|
|
<dd> Construct a new Particle.
|
66 |
|
|
</dl>
|
67 |
|
|
<a name="variables"></a>
|
68 |
|
|
<h2>
|
69 |
|
|
<img src="images/variables.gif" width=153 height=38 alt="Variables">
|
70 |
|
|
</h2>
|
71 |
|
|
<a name="PARTICLE_UNKNOWN"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
|
72 |
|
|
<b>PARTICLE_UNKNOWN</b>
|
73 |
|
|
<pre>
|
74 |
|
|
public static final int PARTICLE_UNKNOWN
|
75 |
|
|
</pre>
|
76 |
|
|
<dl>
|
77 |
|
|
<dd> Content particle type unknown.<p>
|
78 |
|
|
</dl>
|
79 |
|
|
<a name="PARTICLE_ELEMENTTYPEREF"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
|
80 |
|
|
<b>PARTICLE_ELEMENTTYPEREF</b>
|
81 |
|
|
<pre>
|
82 |
|
|
public static final int PARTICLE_ELEMENTTYPEREF
|
83 |
|
|
</pre>
|
84 |
|
|
<dl>
|
85 |
|
|
<dd> Content particle is a reference to an element type (Reference).<p>
|
86 |
|
|
</dl>
|
87 |
|
|
<a name="PARTICLE_CHOICE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
|
88 |
|
|
<b>PARTICLE_CHOICE</b>
|
89 |
|
|
<pre>
|
90 |
|
|
public static final int PARTICLE_CHOICE
|
91 |
|
|
</pre>
|
92 |
|
|
<dl>
|
93 |
|
|
<dd> Content particle is a choice group (Group).<p>
|
94 |
|
|
</dl>
|
95 |
|
|
<a name="PARTICLE_SEQUENCE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
|
96 |
|
|
<b>PARTICLE_SEQUENCE</b>
|
97 |
|
|
<pre>
|
98 |
|
|
public static final int PARTICLE_SEQUENCE
|
99 |
|
|
</pre>
|
100 |
|
|
<dl>
|
101 |
|
|
<dd> Content particle is a sequence group (Group).<p>
|
102 |
|
|
</dl>
|
103 |
|
|
<a name="type"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
|
104 |
|
|
<b>type</b>
|
105 |
|
|
<pre>
|
106 |
|
|
public int type
|
107 |
|
|
</pre>
|
108 |
|
|
<dl>
|
109 |
|
|
<dd> Content particle type.<p>
|
110 |
|
|
</dl>
|
111 |
|
|
<a name="isRequired"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
|
112 |
|
|
<b>isRequired</b>
|
113 |
|
|
<pre>
|
114 |
|
|
public boolean isRequired
|
115 |
|
|
</pre>
|
116 |
|
|
<dl>
|
117 |
|
|
<dd> Whether the particle is required. By default, this is true. The
|
118 |
|
|
following table shows how isRequired and isRepeatable map to the
|
119 |
|
|
*, +, and ? qualifiers:
|
120 |
|
|
<pre>
|
121 |
|
|
isRequired
|
122 |
|
|
isRepeatable | true | false
|
123 |
|
|
--------------|-----------|--------------
|
124 |
|
|
true | + | *
|
125 |
|
|
--------------|-----------|--------------
|
126 |
|
|
false | -- | ?
|
127 |
|
|
</pre>
|
128 |
|
|
<p>Note that the defaults of isRequired and isRepeatable map to
|
129 |
|
|
the required/not repeatable (i.e. no operator) case.</p><p>
|
130 |
|
|
</dl>
|
131 |
|
|
<a name="isRepeatable"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
|
132 |
|
|
<b>isRepeatable</b>
|
133 |
|
|
<pre>
|
134 |
|
|
public boolean isRepeatable
|
135 |
|
|
</pre>
|
136 |
|
|
<dl>
|
137 |
|
|
<dd> Whether the particle may be repeated. By default, this is false.<p>
|
138 |
|
|
</dl>
|
139 |
|
|
<a name="constructors"></a>
|
140 |
|
|
<h2>
|
141 |
|
|
<img src="images/constructors.gif" width=231 height=38 alt="Constructors">
|
142 |
|
|
</h2>
|
143 |
|
|
<a name="Particle"></a>
|
144 |
|
|
<a name="Particle()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
|
145 |
|
|
<b>Particle</b>
|
146 |
|
|
<pre>
|
147 |
|
|
public Particle()
|
148 |
|
|
</pre>
|
149 |
|
|
<dl>
|
150 |
|
|
<dd> Construct a new Particle.
|
151 |
|
|
<p>
|
152 |
|
|
</dl>
|
153 |
|
|
<hr>
|
154 |
|
|
<pre>
|
155 |
|
|
<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="de.tudarmstadt.ito.schemas.dtd.ParsedGeneralEntity.html#_top_">Previous</a> <a href="de.tudarmstadt.ito.schemas.dtd.Reference.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre>
|
156 |
|
|
</body>
|
157 |
|
|
</html>
|