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.Object
A 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 boolean
xalanInstalled
-
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 boolean
isXalanInstalled()
static XPathFactory
newInstance()
Get a new XPathFactory instanceabstract XPathAPI
newXPathAPI()
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
-
-