KickJava   Java API By Example, From Geeks To Geeks.

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


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 import org.apache.ws.jaxme.xs.xml.XsQName;
21
22
23 /** <p>This interface implements the JAXB javaType bindings.</p>
24  *
25  * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a>
26  * @version $Id: JAXBJavaType.java,v 1.3 2004/09/30 00:09:30 jochen Exp $
27  */

28 public interface JAXBJavaType extends XsObject {
29   public interface JAXBGlobalJavaType extends JAXBJavaType {
30     /** <p>Returns the xmlType.</p>
31      */

32     public XsQName getXmlType();
33   }
34
35   /** <p>Returns the runtime type.</p>
36    */

37   public String JavaDoc getName();
38
39   /** Returns the XML type.
40    */

41   public XsQName getXmlType();
42
43   /** <p>Returns whether the <code>print()</code> and/or
44    * <code>parse()</code> methods have an additional
45    * <code>nsContext</code> attribute.</p>
46    */

47   public boolean hasNsContext();
48
49   /** <p>Returns the name of the <code>parse()</code> method.</p>
50    */

51   public String JavaDoc getParseMethod();
52
53   /** <p>Returns the name of the <code>print()</code> method.</p>
54    */

55   public String JavaDoc getPrintMethod();
56 }
57
Popular Tags