/** * This method returns a Document from the contents of the XML file as contained in the String * xmlFile, with no restriction as to the root element. */ public Document loadXMLFile(String xmlFile) { if (!StringUtil.blank(xmlFile)) { Document CipresDoc = XMLUtil.getDocumentFromString(xmlFile); return CipresDoc; } return null; }
public CIPResCommunicator(MesquiteModule mb, String xmlPrefsString, String[] outputFilePaths) { if (xmlPrefsString != null) XMLUtil.readXMLPreferences(mb, this, xmlPrefsString); this.outputFilePaths = outputFilePaths; ownerModule = mb; }