KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ws > jaxme > xs > jaxb > JAXBSchemaBindings


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.jaxb;
18
19 import org.apache.ws.jaxme.xs.xml.XsObject;
20
21
22 /** <p>This interface implements the JAXB schema bindings.</p>
23  *
24  * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
25  * @version $Id: JAXBSchemaBindings.java,v 1.3 2004/02/22 00:52:34 jochen Exp $
26  */

27 public interface JAXBSchemaBindings {
28   /** <p>Configures the package that is used in this schema.</p>
29    */

30   public interface Package extends XsObject {
31     /** <p>Returns the package name.</p>
32      */

33     public String JavaDoc getName();
34
35     /** <p>Returns the packages JavaDoc documentation.</p>
36      */

37     public JAXBJavadoc getJavadoc();
38   }
39
40   public interface NameTransformation extends XsObject {
41     /** <p>Returns the suffix.</p>
42      */

43     public String JavaDoc getSuffix();
44     /** <p>Returns the prefix.</p>
45      */

46     public String JavaDoc getPrefix();
47   }
48
49   public interface NameXmlTransform extends XsObject {
50     /** <p>Returns the <code>typeName</code>'s NameTransformation.</p>
51      */

52     public NameTransformation getTypeName();
53     /** <p>Returns the <code>elementName</code>'s NameTransformation.</p>
54      */

55     public NameTransformation getElementName();
56     /** <p>Returns the <code>modelGroupName</code>'s NameTransformation.</p>
57      */

58     public NameTransformation getModelGroupName();
59     /** <p>Returns the <code>anonymousTypeName</code>'s NameTransformation.</p>
60      */

61     public NameTransformation getAnonymousTypeName();
62   }
63
64   /** <p>Returns the package declaration.</p>
65    */

66   public Package JavaDoc getPackage();
67
68   /** <p>Returns the list of NameXmlTransforms.</p>
69    */

70   public NameXmlTransform[] getNameXmlTransform();
71 }
72
Popular Tags