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:topLevelElement</code> type, with 20 * the following specification: 21 * <pre> 22 * <xs:complexType name="topLevelElement"> 23 * <xs:complexContent> 24 * <xs:restriction base="xs:element"> 25 * <xs:sequence> 26 * <xs:element ref="xs:annotation" minOccurs="0"/> 27 * <xs:choice minOccurs="0"> 28 * <xs:element name="simpleType" type="xs:localSimpleType"/> 29 * <xs:element name="complexType" type="xs:localComplexType"/> 30 * </xs:choice> 31 * <xs:group ref="xs:identityConstraint" minOccurs="0" maxOccurs="unbounded"/> 32 * </xs:sequence> 33 * <xs:attribute name="ref" use="prohibited"/> 34 * <xs:attribute name="form" use="prohibited"/> 35 * <xs:attribute name="minOccurs" use="prohibited"/> 36 * <xs:attribute name="maxOccurs" use="prohibited"/> 37 * <xs:attribute name="name" use="required" type="xs:NCName"/> 38 * </xs:restriction> 39 * </xs:complexContent> 40 * </xs:complexType> 41 *</pre></p> 42 * 43 * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a> 44 */ 45 public interface XsTTopLevelElement extends XsTElement { 46 } 47