The JDOM 1.x API uses the XPath class as the entire API interface. This has been deprecated, and replaced with XPathFactory, XPathCompiled, and XPathBuilder.
Please see the web page for the details on the JDOM2 XPath API change.
The XPathHelper class provides static methods to create XPath queries that identify specific JDOM nodes.