try { Object obj = Class.forName("com.steadystate.css.parser.SACParser").newInstance(); org.w3c.css.sac.Parser psr = (org.w3c.css.sac.Parser)obj; parser = new CSSOMParser(psr); } catch (Exception ex) { XRLog.exception("Bad!  Couldn't load the CSS parser. Everything after this will fail."); }
    public StylesheetFactoryImpl(UserAgentCallback userAgent) {        _userAgent = userAgent;    }