KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > axis2 > wsdl > codegen > XSLTConstants


1 package org.apache.axis2.wsdl.codegen;
2
3 /*
4 * Copyright 2004,2005 The Apache Software Foundation.
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 *
18 * Constants for the XSLT related items
19 */

20 public interface XSLTConstants {
21     String JavaDoc DEFAULT_PACKAGE_NAME = "codegen";
22
23     /**
24      * Language constants
25      */

26     public interface LanguageTypes{
27
28         public static final int JAVA=1;
29         public static final int C_SHARP=2;
30         public static final int C_PLUS_PLUS=3;
31         public static final int VB_DOT_NET=4;
32     }
33
34       public interface DataBindingTypes{
35
36         public static final int XML_BEANS=1;
37         public static final int JAXB=2;
38
39     }
40     /**
41      * Interface templates
42      */

43     public interface XSLTInterfaceTemplates{
44         public static final String JavaDoc JAVA_TEMPLATE = "/org/apache/axis2/wsdl/template/java/InterfaceTemplate.xsl";
45         public static final String JavaDoc CSHARP_TEMPLATE = "/org/apache/axis2/wsdl/template/csharp/InterfaceTemplate.xsl";
46     }
47
48     /**
49      * Interface implementation templates
50      */

51     public interface XSLTInterfaceImplementationTemplates{
52         public static final String JavaDoc JAVA_TEMPLATE = "/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl";
53         public static final String JavaDoc CSHARP_TEMPLATE = "/org/apache/axis2/wsdl/template/csharp/InterfaceImplementationTemplate.xsl";
54     }
55
56     /**
57      * Interface bean templates
58      */

59     public interface XSLTBeanTemplates{
60         public static final String JavaDoc JAVA_TEMPLATE = "/org/apache/axis2/wsdl/template/java/BeanTemplate.xsl";
61         public static final String JavaDoc CSHARP_TEMPLATE = "/org/apache/axis2/wsdl/template/csharp/BeanTemplate.xsl";
62     }
63     
64     /**
65      *
66      * Interface CallbackHanlder Template
67      */

68     public interface XSLTCallbackHandlerTemplates{
69         public static final String JavaDoc JAVA_TEMPLATE = "/org/apache/axis2/wsdl/template/java/CallbackHandlerTemplate.xsl";
70         public static final String JavaDoc CSHARP_TEMPLATE = "/org/apache/axis2/wsdl/template/csharp/CallbackHandlerTemplate.xsl";
71     }
72
73      /**
74      *
75      * Interface skeletons
76      */

77     public interface XSLTSkeletonTemplates{
78         public static final String JavaDoc JAVA_TEMPLATE = "/org/apache/axis2/wsdl/template/java/SkeletonTemplate.xsl";
79         public static final String JavaDoc CSHARP_TEMPLATE = "/org/apache/axis2/wsdl/template/csharp/SkeletonTemplate.xsl";
80     }
81
82     public interface XSLTTestClassTemplates{
83         public static final String JavaDoc JAVA_TEMPLATE = "/org/apache/axis2/wsdl/template/java/TestClassTemplate.xsl";
84         public static final String JavaDoc CSHARP_TEMPLATE = "/org/apache/axis2/wsdl/template/csharp/TestClassTemplate.xsl";
85     }
86
87      public interface XSLTDatabindingSupporterTemplates{
88         public static final String JavaDoc JAVA_TEMPLATE = "/org/apache/axis2/wsdl/template/java/XMLBeansSupporterTemplate.xsl";
89         //public static final String CSHARP_TEMPLATE = "/org/apache/axis2/wsdl/template/csharp/TestClassTemplate.xsl";
90
}
91
92     public interface XSLTLocalTestClassTemplates{
93         public static final String JavaDoc JAVA_TEMPLATE = "/org/apache/axis2/wsdl/template/java/TestClassTemplate.xsl";
94         public static final String JavaDoc CSHARP_TEMPLATE = "/org/apache/axis2/wsdl/template/csharp/LocalTestClassTemplate.xsl";
95     }
96
97     public interface XSLTTestSkeletonImplTemplates{
98         public static final String JavaDoc JAVA_TEMPLATE = "/org/apache/axis2/wsdl/template/java/TestSkeletonImplTemplate.xsl";
99     }
100
101      public interface XSLTServiceXMLTemplates{
102         public static final String JavaDoc GENERAL_SERVICE_TEMPLATE = "/org/apache/axis2/wsdl/template/general/ServiceXMLTemplate.xsl";
103     }
104      
105      public interface XSLTMessageReceiverTemplates{
106         public static final String JavaDoc JAVA_TEMPLATE = "/org/apache/axis2/wsdl/template/java/MessageReceiverTemplate.xsl";
107      }
108      
109      
110 }
111
Popular Tags