KickJava   Java API By Example, From Geeks To Geeks.

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


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 an annotated element, as specified
20  * by the following:
21  * <pre>
22  * &lt;xs:complexType name="annotated"&gt;
23  * &lt;xs:annotation&gt;
24  * &lt;xs:documentation&gt;
25  * This type is extended by all types which allow annotation
26  * other than &lt;schema&gt; itself.
27  * &lt;/xs:documentation&gt;
28  * &lt;/xs:annotation&gt;
29  * &lt;xs:complexContent&gt;
30  * &lt;xs:extension base="xs:openAttrs"&gt;
31  * &lt;xs:sequence&gt;
32  * &lt;xs:element ref="xs:annotation" minOccurs="0"/&gt;
33  * &lt;/xs:sequence&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  * </pre></p>
39  *
40  * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
41  */

42 public interface XsTAnnotated extends XsTOpenAttrs {
43   public XsEAnnotation createAnnotation();
44   public XsEAnnotation getAnnotation();
45   public void setId(XsID pId);
46   public XsID getId();
47 }
48
Popular Tags