Constructor that specifies ClassLoader to use
to find XPathFactory.
Parameters: loader - to be used to load resource, XPathFactory, andSchemaFactoryLoader implementations duringthe resolution process.If this parameter is null, the default system class loaderwill be used.
Creates a new
XPathFactory object for the specified
schema language.
Parameters: uri - Identifies the underlying object model. null if the callee fails to create one. throws: NullPointerException - If the parameter is null.