KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ws > jaxme > xs > xml > XsGParticle


1 /*
2  * Copyright 2003, 2004 The Apache Software Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15
16  */

17 package org.apache.ws.jaxme.xs.xml;
18
19
20 /** <p>Implementation of the <code>xs:particle</code> group,
21  * with the following specification:
22  * <pre>
23  * &lt;xs:group name="particle"&gt;
24  * &lt;xs:choice&gt;
25  * &lt;xs:element name="element" type="xs:localElement"/&gt;
26  * &lt;xs:element name="group" type="xs:groupRef"/&gt;
27  * &lt;xs:element ref="xs:all"/&gt;
28  * &lt;xs:element ref="xs:choice"/&gt;
29  * &lt;xs:element ref="xs:sequence"/&gt;
30  * &lt;xs:element ref="xs:any"/&gt;
31  * &lt;/xs:choice&gt;
32  * &lt;/xs:group&gt;
33  * </pre></p>
34  *
35  * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
36  */

37 public interface XsGParticle {
38   public XsTLocalElement createElement();
39
40   public XsTGroupRef createGroup();
41
42   public XsTAll createAll();
43
44   public XsESequence createSequence();
45
46   public XsEChoice createChoice();
47
48   public XsEAny createAny();
49
50   public XsTParticle[] getParticles();
51 }
52
Popular Tags