1 26 27 package org.objectweb.jonas_web.deployment.lib; 28 29 import org.objectweb.jonas_lib.deployment.api.CommonsDTDs; 30 31 35 public class JonasWebAppDTDs extends CommonsDTDs { 36 37 40 private static final String [] JONAS_WEBAPP_DTDS = new String [] { 41 "jonas-web-app_2_6.dtd", 42 "jonas-web-app_3_1.dtd", 43 "jonas-web-app_3_3.dtd" 44 }; 45 46 49 private static final String [] JONAS_WEBAPP_DTDS_PUBLIC_ID = new String [] { 50 "-//ObjectWeb//DTD JOnAS Web App 2.6//EN", 51 "-//ObjectWeb//DTD JOnAS Web App 3.1//EN", 52 "-//ObjectWeb//DTD JOnAS Web App 3.3//EN" 53 }; 54 55 58 private static final String [] JETTY_DTDS = new String [] { 59 "configure_1_2.dtd" 60 }; 61 62 65 private static final String [] JETTY_DTDS_PUBLIC_ID = new String [] { 66 "-//Mort Bay Consulting//DTD Configure 1.2//EN" 67 }; 68 69 72 public JonasWebAppDTDs() { 73 super(); 74 addMapping(JONAS_WEBAPP_DTDS, JONAS_WEBAPP_DTDS_PUBLIC_ID); 75 addMapping(JETTY_DTDS, JETTY_DTDS_PUBLIC_ID); 76 } 77 78 79 } 80 | Popular Tags |