code: public void parseStyleDeclaration(final CSSStyleDeclarationImpl sd, final String styleDecl) throws IOException {
          try (InputSource source = new InputSource(new StringReader(styleDecl))) {
              final Stack<Object> nodeStack = new Stack<>();
              nodeStack.push(sd);
              final CSSOMHandler handler = new CSSOMHandler(nodeStack);
              parser_.setDocumentHandler(handler);
              parser_.parseStyleDeclaration(source);
          }
      }
docs: Parses a input string into a CSSOM style declaration.
  
  @param styleDecl the input string
  @param sd the CSSOM style declaration
  @throws IOException if the underlying SAC parser throws an IOException