KickJava   Java API By Example, From Geeks To Geeks.

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


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:keybase</code> type, with the
20  * following specification:
21  * <pre>
22  * &lt;xs:complexType name="keybase"&gt;
23  * &lt;xs:complexContent&gt;
24  * &lt;xs:extension base="xs:annotated"&gt;
25  * &lt;xs:sequence&gt;
26  * &lt;xs:element ref="xs:selector"/&gt;
27  * &lt;xs:element ref="xs:field" minOccurs="1" maxOccurs="unbounded"/&gt;
28  * &lt;/xs:sequence&gt;
29  * &lt;xs:attribute name="name" type="xs:NCName" use="required"/&gt;
30  * &lt;/xs:extension&gt;
31  * &lt;/xs:complexContent&gt;
32  * &lt;/xs:complexType&gt;
33  * </pre></p>
34  *
35  * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
36  */

37 public interface XsTKeybase extends XsTAnnotated {
38   public XsESelector createSelector();
39   public XsESelector getSelector();
40
41   public XsEField createField();
42   public XsEField[] getFields();
43
44   public void setName(XsNCName pName);
45   public XsNCName getName();
46 }
47
Popular Tags