Package org.apache.xml.security.utils
Class XPathFactory
- java.lang.Object
-
- org.apache.xml.security.utils.XPathFactory
-
- Direct Known Subclasses:
JDKXPathFactory,XalanXPathFactory
public abstract class XPathFactory extends java.lang.ObjectA Factory to return an XPathAPI instance. If Xalan is available it returns XalanXPathAPI. If not, then it returns JDKXPathAPI.
-
-
Field Summary
Fields Modifier and Type Field Description private static booleanxalanInstalled
-
Constructor Summary
Constructors Constructor Description XPathFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected static booleanisXalanInstalled()static XPathFactorynewInstance()Get a new XPathFactory instanceabstract XPathAPInewXPathAPI()Get a new XPathAPI instance
-
-
-
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
-
-