XPathFactory

JAXP 1.3 has added functionality to create XPath expressions independent of their implementation

  • creates XPath objects

  • Creates a XPathFactory based on:

    XPathFactory.newInstance()
    1. The class-name defined by the 'javax.xml.xpath.XPathFactory' Property

    2. The class-name defined in the properties file 'lib/jaxp.properties' in the JRE directory.

    3. The class-name defined in the META-INF/services/javax.xml.xpath.XPathFactory file in available jars