The browser is in-itself a CSS Parser, and provides ways to access the style sheets. See http://www.howtocreate.co.uk/tutorials/javascript/domstylesheets for an introduction.
Since you want to write GWT code to parse the classes, here's what I'd recommend -
- First understand the javascript code needed to iterate over the classes
- Write a Javascript Overlay, so that you can use java to access the CSS classes and properties
- Use the abstraction created in step 2 to program whatever logic you require
sri
2010-05-25 19:59:29