Search in sources :

Example 11 with XMLWriter

use of org.eweb4j.util.xml.XMLWriter in project eweb4j-framework by laiweiwei.

the class EWeb4JConfig method createStartXml.

public static void createStartXml(String path, ConfigBean cb) throws Exception {
    XMLWriter writer = BeanXMLUtil.getBeanXMLWriter(new File(ConfigConstant.CONFIG_BASE_PATH() + path), cb);
    writer.setBeanName("eweb4j");
    writer.setClass("eweb4j", ConfigBean.class);
    writer.write();
}
Also used : XMLWriter(org.eweb4j.util.xml.XMLWriter) File(java.io.File)

Aggregations

XMLWriter (org.eweb4j.util.xml.XMLWriter)11 File (java.io.File)10 FileInputStream (java.io.FileInputStream)1 IOException (java.io.IOException)1 Field (java.lang.reflect.Field)1 Method (java.lang.reflect.Method)1 ArrayList (java.util.ArrayList)1 Collection (java.util.Collection)1 List (java.util.List)1 ZipEntry (java.util.zip.ZipEntry)1 ZipOutputStream (java.util.zip.ZipOutputStream)1 ServletOutputStream (javax.servlet.ServletOutputStream)1 HttpServletResponse (javax.servlet.http.HttpServletResponse)1 ConfigBean (org.eweb4j.config.bean.ConfigBean)1 CookieProxy (org.eweb4j.mvc.CookieProxy)1 HttpSessionProxy (org.eweb4j.mvc.HttpSessionProxy)1 ServletContextProxy (org.eweb4j.mvc.ServletContextProxy)1 ResultConfigBean (org.eweb4j.mvc.config.bean.ResultConfigBean)1 UploadFile (org.eweb4j.mvc.upload.UploadFile)1 JSPRendererImpl (org.eweb4j.mvc.view.JSPRendererImpl)1