KickJava   Java API By Example, From Geeks To Geeks.

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


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 group <code>xs:complexTypeModel</code>,
20  * as specified by the following:
21  * <pre>
22  * &lt;xs:group name="complexTypeModel"&gt;
23  * &lt;xs:choice&gt;
24  * &lt;xs:element ref="xs:simpleContent"/&gt;
25  * &lt;xs:element ref="xs:complexContent"/&gt;
26  * &lt;xs:sequence&gt;
27  * &lt;xs:annotation&gt;
28  * &lt;xs:documentation&gt;
29  * This branch is short for &amp;lt;complexContent&amp;gt;
30  * &amp;lt;restriction base="xs:anyType"&amp;gt;
31  * ...
32  * &amp;lt;/restriction&amp;gt;
33  * &amp;lt;/complexContent&amp;gt;
34  * &lt;/xs:documentation&gt;
35  * &lt;/xs:annotation&gt;
36  * &lt;xs:group ref="xs:typeDefParticle" minOccurs="0"/&gt;
37  * &lt;xs:group ref="xs:attrDecls"/&gt;
38  * &lt;/xs:sequence&gt;
39  * &lt;/xs:choice&gt;
40  * &lt;/xs:group&gt;
41  * </pre></p>
42  *
43  * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
44  */

45 public interface XsGComplexTypeModel extends XsGTypeDefParticle, XsGAttrDecls {
46   public XsESimpleContent createSimpleContent();
47   public XsESimpleContent getSimpleContent();
48
49   public XsEComplexContent createComplexContent();
50   public XsEComplexContent getComplexContent();
51 }
52
Popular Tags