public static synchronized void save(org.jdom.Document doc, String fileName, String encoding){
try {
toXmlFile(doc, encoding, fileName);
}
catch (Exception e) {
throw new JThinkRuntimeException(JThinkErrorCode.ERRCODE_XML_XML_FILE_SAVE_FAILED, "Save xml error!", e);
}
}