org.apache.xml.security.utils
Class XPathFactory

java.lang.Object
  extended by 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.


Constructor Summary
XPathFactory()
           
 
Method Summary
protected static boolean isXalanInstalled()
           
static XPathFactory newInstance()
          Get a new XPathFactory instance
abstract  XPathAPI newXPathAPI()
          Get a new XPathAPI instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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



Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.