KickJava   Java API By Example, From Geeks To Geeks.

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


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 <code>xs:list</code>, following
21  * the specification below:
22  * <pre>
23  * &lt;xs:element name="list" id="list"&gt;
24  * &lt;xs:complexType&gt;
25  * &lt;xs:annotation&gt;
26  * &lt;xs:documentation
27  * source="http://www.w3.org/TR/xmlschema-2/#element-list"&gt;
28  * itemType attribute and simpleType child are mutually
29  * exclusive, but one or other is required
30  * &lt;/xs:documentation&gt;
31  * &lt;/xs:annotation&gt;
32  * &lt;xs:complexContent&gt;
33  * &lt;xs:extension base="xs:annotated"&gt;
34  * &lt;xs:sequence&gt;
35  * &lt;xs:element name="simpleType" type="xs:localSimpleType"
36  * minOccurs="0"/&gt;
37  * &lt;/xs:sequence&gt;
38  * &lt;xs:attribute name="itemType" type="xs:QName" use="optional"/&gt;
39  * &lt;/xs:extension&gt;
40  * &lt;/xs:complexContent&gt;
41  * &lt;/xs:complexType&gt;
42  * &lt;/xs:element&gt;
43  * </pre></p>
44  *
45  * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
46  */

47 public interface XsEList extends XsTAnnotated {
48   public void setItemType(XsQName pName);
49
50   public XsQName getItemType();
51
52   public XsTLocalSimpleType createSimpleType();
53
54   public XsTLocalSimpleType getSimpleType();
55 }
56
Popular Tags