CSSelly is a Java implementation of the W3C Selectors Level 3 specification.
It's small, fast and extendable. CSSelly parses an input containing CSS selectors. The result then may be used by any HTML parser. Yet, it works the best with LagartoDOM tree and our Jerry.