views:

27

answers:

1
+1  A: 

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 -

  1. First understand the javascript code needed to iterate over the classes
  2. Write a Javascript Overlay, so that you can use java to access the CSS classes and properties
  3. Use the abstraction created in step 2 to program whatever logic you require
sri