Getting style information (css) of a node after parsing an html page in Java
===

I'm developing a project who analizes webpages. I use an Java library for html parsing, and it returns an org.w3c.dom document.

Given a tag node in my dom document, I'd like to know all the css info connected to that node (including override/inheritance).

How I can do this? Searching on google i found some css parsers who generate an org.w3c.dom document, but how i should mix them? 
