@Nonnull
  public static XPath createNewXPath (@Nonnull final XPathFactory aXPathFactory,
                                      @Nullable final XPathFunctionResolver aFunctionResolver)
  {
    return createNewXPath (aXPathFactory, (XPathVariableResolver) null, aFunctionResolver, (NamespaceContext) null);
  }
@ Nonnull public static XPath createNewXPath ( @ Nonnull final XPathFactory aXPathFactory , @ Nullable final XPathFunctionResolver aFunctionResolver ) { return createNewXPath ( aXPathFactory , ( XPathVariableResolver ) null , aFunctionResolver , ( NamespaceContext ) null ) ; }
Create a new {@link XPath} with the passed function resolver.

@param aXPathFactory
The XPath factory object to use. May not be <code>null</code>.
@param aFunctionResolver
Function resolver to be used. May be <code>null</code>.
@return The created non-<code>null</code> {@link XPath} object