1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.apache.pluto.portalImpl.xml;
21
22 /***
23 ** This class defines a bunch of constants, especially those needed to
24 ** identify attributes for xml-creation and validation.
25 **
26 **/
27
28 public class Constants
29 {
30
31
32 public final static String RES_PORTLET_PUBLIC_ID = "-//Sun Microsystems, Inc.//DTD PortletApplication 1.0//EN";
33 public final static String[] RES_PORTLET_DTDS = {"/org/apache/pluto/portalImpl/xml/portlet-app_1_0.xsd",
34 "/org/apache/pluto/portalImpl/xml/xml.xsd",
35 "/org/apache/pluto/portalImpl/xml/XMLSchema.dtd",
36 "/org/apache/pluto/portalImpl/xml/datatypes.dtd"};
37 public final static String[] RES_PORTLET_DTD_NAMES = {"portlet-app_1_0.xsd", "xml.xsd", "XMLSchema.dtd", "datatypes.dtd"};
38
39 public final static String RES_WEB_PUBLIC_ID = "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN";
40 public final static String RES_WEB_DTD = "/org/apache/pluto/portalImpl/xml/web-app_2_3.dtd";
41 public final static String RES_WEB_DTD_NAME = "web-app_2_3.dtd";
42
43
44 public final static String WEB_PORTLET_PUBLIC_ID = "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN";
45 public final static String WEB_PORTLET_DTD = "http://java.sun.com/dtd/web-app_2_3.dtd";
46
47 }