Class CSS2XPath

java.lang.Object
org.joox.selector.CSS2XPath

public final class CSS2XPath extends Object
A utility class converting CSS selector expressions to XPath expressions.

This class is a facade for the more extensive functionality provided by the css-selectors project created by Christer Sandberg. jOOX does not expose that functionality publicly.

Author:
Lukas Eder
See Also:
  • Constructor Details

    • CSS2XPath

      public CSS2XPath()
  • Method Details

    • css2xpath

      public static final String css2xpath(String css)
      Convert a CSS selector expression to an XPath expression
    • css2xpath

      public static final String css2xpath(String css, boolean isRoot)
      Convert a CSS selector expression to an XPath expression