* @param solverConfigResource never null, a classpath resource
* as defined by {@link ClassLoader#getResource(String)}
* @return never null
*/
public static SolverFactory createFromXmlResource(String solverConfigResource) {
XStreamXmlSolverFactory solverFactory = new XStreamXmlSolverFactory();
solverFactory.configure(solverConfigResource);
return solverFactory;
}