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 * <xs:element name="list" id="list"> 24 * <xs:complexType> 25 * <xs:annotation> 26 * <xs:documentation 27 * source="http://www.w3.org/TR/xmlschema-2/#element-list"> 28 * itemType attribute and simpleType child are mutually 29 * exclusive, but one or other is required 30 * </xs:documentation> 31 * </xs:annotation> 32 * <xs:complexContent> 33 * <xs:extension base="xs:annotated"> 34 * <xs:sequence> 35 * <xs:element name="simpleType" type="xs:localSimpleType" 36 * minOccurs="0"/> 37 * </xs:sequence> 38 * <xs:attribute name="itemType" type="xs:QName" use="optional"/> 39 * </xs:extension> 40 * </xs:complexContent> 41 * </xs:complexType> 42 * </xs:element> 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