code: public CSSStyleSheetImpl parseStyleSheet(final InputSource source, final String href) throws IOException {
          final CSSOMHandler handler = new CSSOMHandler();
          handler.setHref(href);
          parser_.setDocumentHandler(handler);
          parser_.parseStyleSheet(source);
          final Object o = handler.getRoot();
          if (o instanceof CSSStyleSheetImpl) {
              return (CSSStyleSheetImpl) o;
          }
          return null;
      }
docs: Parses a SAC input source into a CSSOM style sheet.
  
  @param source the SAC input source
  @param href the href
  @return the CSSOM style sheet
  @throws IOException if the underlying SAC parser throws an IOException