KickJava   Java API By Example, From Geeks To Geeks.

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


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 /** <p>Interface of the <code>xs:explicitGroup</code>
20  * type, as specified by the following:
21  * <pre>
22  * <xs:complexType name="explicitGroup">
23  * <xs:annotation>
24  * <xs:documentation>
25  * group type for the three kinds of group
26  * </xs:documentation>
27  * </xs:annotation>
28  * <xs:complexContent>
29  * <xs:restriction base="xs:group">
30  * <xs:sequence>
31  * <xs:element ref="xs:annotation" minOccurs="0"/>
32  * <xs:group ref="xs:nestedParticle" minOccurs="0" maxOccurs="unbounded"/>
33  * </xs:sequence>
34  * <xs:attribute name="name" type="xs:NCName" use="prohibited"/>
35  * <xs:attribute name="ref" type="xs:QName" use="prohibited"/>
36  * </xs:restriction>
37  * </xs:complexContent>
38  * </xs:complexType>
39  * </pre></p>
40  * <p><em>Implementation note:</em> This interface doesn't specify
41  * any additional methods. However, the implementations <code>validate()</code>
42  * method must ensure that
43  * <ol>
44  * <li>neither of the 'name' or 'ref' attributes are set</li>
45  * <li>Either of the 'all', 'choice', 'sequence', 'any', or 'group'
46  * child elements is set, but not the 'all' element.</li>
47  * </ol>
48  * </p>
49  *
50  * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
51  */

52 public interface XsTExplicitGroup extends XsTGroup {
53
54 }
55
Popular Tags