KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > deployment > xml > DTDRegistry


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23
24 // START OF IASRI 4661135
25

26 package com.sun.enterprise.deployment.xml;
27 import java.util.Hashtable JavaDoc;
28
29 public final class DTDRegistry {
30
31      public static final String JavaDoc Package = "com.sun.enterprise.deployment.xml";
32
33      public static final String JavaDoc DTD_LOCATION= System.getProperty("com.sun.aas.installRoot") + java.io.File.separator + "lib" + java.io.File.separator + "dtds";
34      
35      public static final String JavaDoc SCHEMA_LOCATION=System.getProperty("com.sun.aas.installRoot") + java.io.File.separator + "lib" + java.io.File.separator + "schemas";
36
37      // Standard DTDs
38

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

97     /**
98      * Application: Sun ONE App Server specific dtd info.
99      */

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

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

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

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

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

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

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

245
Popular Tags