Class XPathFactory

  • Direct Known Subclasses:
    JDKXPathFactory, XalanXPathFactory

    public abstract class XPathFactory
    extends java.lang.Object
    A Factory to return an XPathAPI instance. If Xalan is available it returns XalanXPathAPI. If not, then it returns JDKXPathAPI.
    • Field Detail

      • xalanInstalled

        private static boolean xalanInstalled
    • Constructor Detail

      • XPathFactory

        public XPathFactory()
    • Method Detail

      • isXalanInstalled

        protected static boolean isXalanInstalled()
      • newInstance

        public static XPathFactory newInstance()
        Get a new XPathFactory instance
      • newXPathAPI

        public abstract XPathAPI newXPathAPI()
        Get a new XPathAPI instance