Class XPathFactory

java.lang.Object
org.apache.xml.security.utils.XPathFactory
Direct Known Subclasses:
JDKXPathFactory, XalanXPathFactory

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

    • xalanInstalled

      private static boolean xalanInstalled
  • Constructor Details

    • XPathFactory

      public XPathFactory()
  • Method Details

    • 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