KickJava   Java API By Example, From Geeks To Geeks.

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


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:redefine</code>, as specified
21  * by the following:
22  * <pre>
23  * &lt;xs:element name="redefine" id="redefine"&gt;
24  * &lt;xs:annotation&gt;
25  * &lt;xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-redefine"/&gt;
26  * &lt;/xs:annotation&gt;
27  * &lt;xs:complexType&gt;
28  * &lt;xs:complexContent&gt;
29  * &lt;xs:extension base="xs:openAttrs"&gt;
30  * &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
31  * &lt;xs:element ref="xs:annotation"/&gt;
32  * &lt;xs:group ref="xs:redefinable"/&gt;
33  * &lt;/xs:choice&gt;
34  * &lt;xs:attribute name="schemaLocation" type="xs:anyURI" use="required"/&gt;
35  * &lt;xs:attribute name="id" type="xs:ID"/&gt;
36  * &lt;/xs:extension&gt;
37  * &lt;/xs:complexContent&gt;
38  * &lt;/xs:complexType&gt;
39  * &lt;/xs:element&gt;
40  * </pre></p>
41  *
42  * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
43  */

44 public interface XsERedefine extends XsTOpenAttrs {
45   public void setId(XsID pID);
46   public XsID getId();
47
48   public void setSchemaLocation(XsAnyURI pSchemaLocation);
49   public XsAnyURI getSchemaLocation();
50
51   public XsEAnnotation createAnnotation();
52
53   public XsETopLevelSimpleType createSimpleType();
54
55   public XsTComplexType createComplexType();
56
57   public XsTGroup createGroup();
58
59   public XsTAttributeGroup createAttributeGroup();
60
61   /** <p>Returns the child elemens. Any element in the object array is an instance of
62    * {@link XsETopLevelSimpleType}, {@link XsTComplexType}, {@link XsTGroup}, or
63    * {@link XsTAttributeGroup}.</p>
64    */

65   public Object JavaDoc[] getChilds();
66 }
67
Popular Tags