/** * Convenience method to parse a wiring xml. * @param xmlString the xml string to parse * @return the WireDefinition created by parsing the xml given in input. * @see #parseXmlString(String) */ public static WireDefinition parseXmlString(String xmlString) { return (WireDefinition) getInstance() .createParse() .setString(xmlString) .execute() .checkProblems("wire definition xml string") .getDocumentObject(); }