code: public static final XPathFactory newInstance() {
          try {
              return newInstance(DEFAULT_OBJECT_MODEL_URI);
          }
          catch (XPathFactoryConfigurationException xpathFactoryConfigurationException) {
              throw new RuntimeException(
                  "XPathFactory#newInstance() failed to create an XPathFactory for the default object model: "
                  + DEFAULT_OBJECT_MODEL_URI
                  + " with the XPathFactoryConfigurationException: "
                  + xpathFactoryConfigurationException.toString()
              );
          }
      }
docs: <p>Get a new <code>XPathFactory</code> instance using the default object model,
  {@link #DEFAULT_OBJECT_MODEL_URI},
  the W3C DOM.</p>
  
  <p>This method is functionally equivalent to:</p>
  <pre>
  newInstance(DEFAULT_OBJECT_MODEL_URI)
  </pre>
  
  <p>Since the implementation for the W3C DOM is always available, this method will never fail.</p>
  
  @return Instance of an <code>XPathFactory</code>.