1 5 package xdoclet.modules.jboss.jmx; 6 7 8 import xdoclet.XmlSubTask; 9 10 19 public class JBossXMBeanDescriptorSubTask extends XmlSubTask 20 { 21 23 private final static String DD_FILE_NAME = "{0}.xml"; 24 25 private final static String DD_PUBLICID = "-//JBoss//DTD JBOSS XMBEAN 1.0//EN"; 26 27 private final static String DD_SYSTEMID = "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_0.dtd"; 28 29 private final static String DTD_FILE_NAME = "resources/jboss_xmbean_1_0.dtd"; 30 31 private static String DEFAULT_TEMPLATE_FILE = "resources/jbossmx-xml-descriptor.xdt"; 32 33 36 public JBossXMBeanDescriptorSubTask() 37 { 38 setTemplateURL(getClass().getResource(DEFAULT_TEMPLATE_FILE)); 39 setDestinationFile(DD_FILE_NAME); 40 setHavingClassTag("jboss:xmbean"); 41 setPublicId(DD_PUBLICID); 42 setSystemId(DD_SYSTEMID); 43 setDtdURL(getClass().getResource(DTD_FILE_NAME)); 44 45 } 46 47 } 48 | Popular Tags |