KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > sun > dd > impl > DTDRegistry


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 // START OF IASRI 4661135
21

22 package org.netbeans.modules.j2ee.sun.dd.impl;
23
24 import java.util.Hashtable JavaDoc;
25
26 public final class DTDRegistry {
27
28      public static final String JavaDoc Package = "com.sun.enterprise.deployment.xml";
29
30      public static final String JavaDoc DTD_LOCATION= System.getProperty("com.sun.aas.installRoot") + java.io.File.separator + "lib" + java.io.File.separator + "dtds";
31
32      public static final String JavaDoc SCHEMA_LOCATION=System.getProperty("com.sun.aas.installRoot") + java.io.File.separator + "lib" + java.io.File.separator + "schemas";
33
34      // Standard DTDs
35

36      public static final String JavaDoc APPLICATION_13_DTD_PUBLIC_ID =
37          "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN";
38      public static final String JavaDoc APPLICATION_13_DTD_SYSTEM_ID =
39         "http://java.sun.com/dtd/application_1_3.dtd";
40
41      public static final String JavaDoc APPLICATION_12_DTD_PUBLIC_ID =
42         "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN";
43      public static final String JavaDoc APPLICATION_12_DTD_SYSTEM_ID =
44         "http://java.sun.com/dtd/application_1_2.dtd";
45
46      public static final String JavaDoc EJBJAR_20_DTD_PUBLIC_ID =
47         "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN";
48      public static final String JavaDoc EJBJAR_20_DTD_SYSTEM_ID =
49         "http://java.sun.com/dtd/ejb-jar_2_0.dtd";
50
51     public static final String JavaDoc EJBJAR_11_DTD_PUBLIC_ID =
52         "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN";
53     public static final String JavaDoc EJBJAR_11_DTD_SYSTEM_ID =
54         "http://java.sun.com/dtd/ejb-jar_1_1.dtd";
55
56     public static final String JavaDoc APPCLIENT_13_DTD_PUBLIC_ID =
57         "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.3//EN";
58     public static final String JavaDoc APPCLIENT_13_DTD_SYSTEM_ID =
59         "http://java.sun.com/dtd/application-client_1_3.dtd";
60
61     public static final String JavaDoc APPCLIENT_12_DTD_PUBLIC_ID =
62         "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN";
63     public static final String JavaDoc APPCLIENT_12_DTD_SYSTEM_ID =
64         "http://java.sun.com/dtd/application-client_1_2.dtd";
65
66     public static final String JavaDoc CONNECTOR_10_DTD_PUBLIC_ID =
67         "-//Sun Microsystems, Inc.//DTD Connector 1.0//EN";
68     public static final String JavaDoc CONNECTOR_10_DTD_SYSTEM_ID =
69         "http://java.sun.com/dtd/connector_1_0.dtd";
70
71     public static final String JavaDoc WEBAPP_23_DTD_PUBLIC_ID =
72         "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN";
73     public static final String JavaDoc WEBAPP_23_DTD_SYSTEM_ID =
74         "http://java.sun.com/dtd/web-app_2_3.dtd";
75
76     public static final String JavaDoc WEBAPP_22_DTD_PUBLIC_ID =
77         "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN";
78     public static final String JavaDoc WEBAPP_22_DTD_SYSTEM_ID =
79         "http://java.sun.com/dtd/web-app_2_2.dtd";
80
81     public static final String JavaDoc TAGLIB_12_DTD_PUBLIC_ID =
82         "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN";
83     public static final String JavaDoc TAGLIB_12_DTD_SYSTEM_ID =
84         "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd";
85
86     public static final String JavaDoc TAGLIB_11_DTD_PUBLIC_ID =
87         "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN";
88     public static final String JavaDoc TAGLIB_11_DTD_SYSTEM_ID =
89         "http://java.sun.com/dtd/web-jsptaglibrary_1_1.dtd";
90
91
92     //SunONE specific dtds
93

94     /**
95      * Application: Sun ONE App Server specific dtd info.
96      */

97     public static final String JavaDoc SUN_APPLICATION_130_DTD_PUBLIC_ID =
98         "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 J2EE Application 1.3//EN";
99     public static final String JavaDoc SUN_APPLICATION_130_DTD_SYSTEM_ID =
100         "http://www.sun.com/software/sunone/appserver/dtds/sun-application_1_3-0.dtd";
101     public static final String JavaDoc SUN_APPLICATION_140beta_DTD_PUBLIC_ID =
102         "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 8.0 J2EE Application 1.4//EN";
103     public static final String JavaDoc SUN_APPLICATION_140beta_DTD_SYSTEM_ID =
104         "http://www.sun.com/software/sunone/appserver/dtds/sun-application_1_4-0.dtd";
105     public static final String JavaDoc SUN_APPLICATION_140_DTD_PUBLIC_ID =
106         "-//Sun Microsystems, Inc.//DTD Application Server 8.0 J2EE Application 1.4//EN";
107     public static final String JavaDoc SUN_APPLICATION_140_DTD_SYSTEM_ID =
108         "http://www.sun.com/software/appserver/dtds/sun-application_1_4-0.dtd";
109     
110     public static final String JavaDoc SUN_APPLICATION_50_DTD_PUBLIC_ID =
111         "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Java EE Application 5.0//EN";
112     public static final String JavaDoc SUN_APPLICATION_50_DTD_SYSTEM_ID =
113         "http://www.sun.com/software/appserver/dtds/sun-application_5_0-0.dtd";
114     
115     /**
116      * EJB: Sun ONE App Server specific dtd info.
117      */

118     public static final String JavaDoc SUN_EJBJAR_200_DTD_PUBLIC_ID =
119         "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 EJB 2.0//EN";
120     public static final String JavaDoc SUN_EJBJAR_200_DTD_SYSTEM_ID =
121         "http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_0-0.dtd";
122     public static final String JavaDoc SUN_EJBJAR_201_DTD_PUBLIC_ID =
123         "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.1 EJB 2.0//EN";
124     public static final String JavaDoc SUN_EJBJAR_201_DTD_SYSTEM_ID =
125         "http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_0-1.dtd";
126     public static final String JavaDoc SUN_EJBJAR_210beta_DTD_PUBLIC_ID =
127         "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 8.0 EJB 2.1//EN";
128     public static final String JavaDoc SUN_EJBJAR_210beta_DTD_SYSTEM_ID =
129         "http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_1-0.dtd";
130     public static final String JavaDoc SUN_EJBJAR_210_DTD_PUBLIC_ID =
131         "-//Sun Microsystems, Inc.//DTD Application Server 8.0 EJB 2.1//EN";
132     public static final String JavaDoc SUN_EJBJAR_210_DTD_SYSTEM_ID =
133         "http://www.sun.com/software/appserver/dtds/sun-ejb-jar_2_1-0.dtd";
134
135     public static final String JavaDoc SUN_EJBJAR_211_DTD_PUBLIC_ID =
136         "-//Sun Microsystems, Inc.//DTD Application Server 8.1 EJB 2.1//EN";
137     public static final String JavaDoc SUN_EJBJAR_211_DTD_SYSTEM_ID =
138         "http://www.sun.com/software/appserver/dtds/sun-ejb-jar_2_1-1.dtd";
139     
140     public static final String JavaDoc SUN_EJBJAR_300_DTD_PUBLIC_ID =
141         "-//Sun Microsystems, Inc.//DTD Application Server 9.0 EJB 3.0//EN";
142     public static final String JavaDoc SUN_EJBJAR_300_DTD_SYSTEM_ID =
143         "http://www.sun.com/software/appserver/dtds/sun-ejb-jar_3_0-0.dtd";
144     
145     /**
146      * Application Client: Sun ONE App Server specific dtd info.
147      */

148     public static final String JavaDoc SUN_APPCLIENT_130_DTD_PUBLIC_ID =
149         "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 Application Client 1.3//EN";
150     public static final String JavaDoc SUN_APPCLIENT_130_DTD_SYSTEM_ID =
151         "http://www.sun.com/software/sunone/appserver/dtds/sun-application-client_1_3-0.dtd";
152     public static final String JavaDoc SUN_APPCLIENT_140beta_DTD_PUBLIC_ID =
153         "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 8.0 Application Client 1.4//EN";
154     public static final String JavaDoc SUN_APPCLIENT_140beta_DTD_SYSTEM_ID =
155         "http://www.sun.com/software/sunone/appserver/dtds/sun-application-client_1_4-0.dtd";
156     public static final String JavaDoc SUN_APPCLIENT_140_DTD_PUBLIC_ID =
157         "-//Sun Microsystems, Inc.//DTD Application Server 8.0 Application Client 1.4//EN";
158     public static final String JavaDoc SUN_APPCLIENT_140_DTD_SYSTEM_ID =
159         "http://www.sun.com/software/appserver/dtds/sun-application-client_1_4-0.dtd";
160     public static final String JavaDoc SUN_APPCLIENT_141_DTD_PUBLIC_ID =
161         "-//Sun Microsystems, Inc.//DTD Application Server 8.1 Application Client 1.4//EN";
162     public static final String JavaDoc SUN_APPCLIENT_141_DTD_SYSTEM_ID =
163         "http://www.sun.com/software/appserver/dtds/sun-application-client_1_4-1.dtd";
164     public static final String JavaDoc SUN_APPCLIENT_50_DTD_PUBLIC_ID =
165         "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Application Client 5.0//EN";
166     public static final String JavaDoc SUN_APPCLIENT_50_DTD_SYSTEM_ID =
167         "http://www.sun.com/software/appserver/dtds/sun-application-client_5_0-0.dtd";
168     
169     /**
170      * Connectors: Sun ONE App Server specific dtd info.
171      */

172     public static final String JavaDoc SUN_CONNECTOR_100_DTD_PUBLIC_ID =
173         "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 Connector 1.0//EN";
174     public static final String JavaDoc SUN_CONNECTOR_100_DTD_SYSTEM_ID =
175         "http://www.sun.com/software/sunone/appserver/dtds/sun-connector_1_0-0.dtd";
176
177     /**
178      * Web: Sun ONE App Server specific dtd info.
179      */

180     public static final String JavaDoc SUN_WEBAPP_230_DTD_PUBLIC_ID =
181         "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 Servlet 2.3//EN";
182     public static final String JavaDoc SUN_WEBAPP_230_DTD_SYSTEM_ID =
183         "http://www.sun.com/software/sunone/appserver/dtds/sun-web-app_2_3-0.dtd";
184
185     public static final String JavaDoc SUN_WEBAPP_231_DTD_PUBLIC_ID =
186         "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.1 Servlet 2.3//EN";
187     public static final String JavaDoc SUN_WEBAPP_231_DTD_SYSTEM_ID =
188         "http://www.sun.com/software/sunone/appserver/dtds/sun-web-app_2_3-1.dtd";
189
190     public static final String JavaDoc SUN_WEBAPP_240beta_DTD_PUBLIC_ID =
191         "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 8.0 Servlet 2.4//EN";
192     public static final String JavaDoc SUN_WEBAPP_240beta_DTD_SYSTEM_ID =
193         "http://www.sun.com/software/sunone/appserver/dtds/sun-web-app_2_4-0.dtd";
194     public static final String JavaDoc SUN_WEBAPP_240_DTD_PUBLIC_ID =
195         "-//Sun Microsystems, Inc.//DTD Application Server 8.0 Servlet 2.4//EN";
196     public static final String JavaDoc SUN_WEBAPP_240_DTD_SYSTEM_ID =
197         "http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-0.dtd";
198
199     public static final String JavaDoc SUN_WEBAPP_241_DTD_PUBLIC_ID =
200         "-//Sun Microsystems, Inc.//DTD Application Server 8.1 Servlet 2.4//EN";
201     public static final String JavaDoc SUN_WEBAPP_241_DTD_SYSTEM_ID =
202         "http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-1.dtd";
203
204     public static final String JavaDoc SUN_WEBAPP_250_DTD_PUBLIC_ID =
205         "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN";
206     public static final String JavaDoc SUN_WEBAPP_250_DTD_SYSTEM_ID =
207         "http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd";
208     
209     /**
210      * Application Client Container: Sun ONE App Server specific dtd info.
211      */

212     public static final String JavaDoc SUN_CLIENTCONTAINER_700_DTD_PUBLIC_ID =
213         "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 Application Client Container 1.0//EN";
214     public static final String JavaDoc SUN_CLIENTCONTAINER_700_DTD_SYSTEM_ID =
215         "http://www.sun.com/software/sunone/appserver/dtds/sun-application-client-container_1_0.dtd";
216
217     //4690447-adding it for sun-cmp-mapping.xml
218
/**
219      * EJB CMP Mapping : Sun ONE App Server specific dtd info.
220      */

221     public static final String JavaDoc SUN_CMP_MAPPING_700_DTD_PUBLIC_ID =
222         "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 OR Mapping //EN";
223     public static final String JavaDoc SUN_CMP_MAPPING_700_DTD_SYSTEM_ID =
224         "http://www.sun.com/software/sunone/appserver/dtds/sun-cmp-mapping.dtd";
225
226     public static final String JavaDoc SUN_CMP_MAPPING_800_DTD_PUBLIC_ID =
227         "-//Sun Microsystems, Inc.//DTD Application Server 8.0 OR Mapping//EN";
228     public static final String JavaDoc SUN_CMP_MAPPING_800_DTD_SYSTEM_ID =
229         "http://www.sun.com/software/appserver/dtds/sun-cmp-mapping_1_1.dtd";
230
231     public static final String JavaDoc SUN_CMP_MAPPING_810_DTD_PUBLIC_ID =
232         "-//Sun Microsystems, Inc.//DTD Application Server 8.1 OR Mapping//EN";
233     public static final String JavaDoc SUN_CMP_MAPPING_810_DTD_SYSTEM_ID =
234         "http://www.sun.com/software/appserver/dtds/sun-cmp-mapping_1_2.dtd";
235 }
236
237 // END OF IASRI 4661135
238

239
Popular Tags