KickJava   Java API By Example, From Geeks To Geeks.

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


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>Interface of <code>xs:annotation</code>, as specified
21  * by the following:
22  * <pre>
23  * &lt;xs:element name="annotation" id="annotation"&gt;
24  * &lt;xs:annotation&gt;
25  * &lt;xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-annotation"/&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:appinfo"/&gt;
32  * &lt;xs:element ref="xs:documentation"/&gt;
33  * &lt;/xs:choice&gt;
34  * &lt;xs:attribute name="id" type="xs:ID"/&gt;
35  * &lt;/xs:extension&gt;
36  * &lt;/xs:complexContent&gt;
37  * &lt;/xs:complexType&gt;
38  * &lt;/xs:element&gt;
39  * </pre></p>
40  *
41  * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
42  */

43 public interface XsEAnnotation extends XsTOpenAttrs {
44   public void setId(XsID pId);
45   public XsID getId();
46
47   /** <p>Creates a new 'appinfo' child element.</p>
48    */

49   public XsEAppinfo createAppinfo();
50   /** <p>Returns all the 'appinfo' child elements in the
51    * order of creation by {@link #createAppinfo()}.</p>
52    */

53   public XsEAppinfo[] getAppinfos();
54
55   /** <p>Creates a new 'documentation' child element.</p>
56    */

57   public XsEDocumentation createDocumentation();
58   /** <p>Returns all the 'documentation' child elements in
59    * the order of creation by {@link #createDocumentation()}.</p>
60    */

61   public XsEDocumentation[] getDocumentations();
62
63   /** <p>Returns all the annotations child elements in the
64    * order of creation.</p>
65    */

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