Create an XPath.paramexprString The XPath expression string.paramlocator The location of the expression string, mainly for diagnostic purposes.paramprefixResolver This will be called in order to resolve prefixes to namespace URIs.paramtype One of {@link com.sun.org.apache.xpath.internal.XPath#SELECT} or {@link com.sun.org.apache.xpath.internal.XPath#MATCH}.returnan XPath ready for execution.