try {   sacSelectorList = CSOM_PARSER.parseSelectors(new org.w3c.css.sac.InputSource(new java.io.StringReader(sacRule.getSelectorText()))); } catch (java.io.IOException ex) { throw new XRRuntimeException("Could not pull SAC Selectors from SAC CSSStyleRule.", ex); }
sacSelectorList = ((CSSStyleRuleImpl) sacRule).getSelectorList();
    private void pullSelectorsFromDOMRule(org.w3c.dom.css.CSSStyleRule sacRule) {        try {            // note, we parse the selector for this instance, not the one from the CSS Style, which            // might still be multi-part; selector for TODO is always single (no commas)            sacSelectorList =                    CSOM_PARSER.parseSelectors(new org.w3c.css.sac.InputSource(new java.io.StringReader(sacRule.getSelectorText())));        } catch (java.io.IOException ex) {            throw new XRRuntimeException("Could not pull SAC Selectors from SAC CSSStyleRule.", ex);        }    }