KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ws > jaxme > xs > xml > impl > XsTTopLevelElementImpl


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

48 public class XsTTopLevelElementImpl extends XsTElementImpl implements XsTTopLevelElement {
49   protected XsTTopLevelElementImpl(XsObject pParent) {
50     super(pParent);
51   }
52
53   public boolean isGlobal() { return true; }
54 }
55
Popular Tags