* @param styleString
* The style string to parse.
*/
public void parseStyleFromString(Selector select, String styleString)
throws IOException {
StyleSheetParser parser = new StyleSheetParser(this, new StringReader(
styleString));
Style style = new Style();
try {
parser.stylesStart(style);
} catch (ParseException e) {
throw new IOException(e.getMessage());
}
Rule rule = new Rule(select);