XSLTMain () { final String mainClass = System.getProperty("xslt.main"); if (mainClass == null) { return new XSLTRunner(); } try { return (XSLTMain)Class.forName(mainClass).newInstance(); } catch (ClassNotFoundException | InstantiationException | IllegalAccessException e) { throw new AssertionError(e); } }