static public void useJaxenXPathSupport() throws Exception {
  Class.forName("org.jaxen.dom.DOMXPath");
  Class c=Class.forName("freemarker.ext.dom.JaxenXPathSupport");
  jaxenXPathSupport=(XPathSupport)c.newInstance();
synchronized (STATIC_LOCK) {
    xpathSupportClass=c;
  }
  if (LOG.isDebugEnabled()) {
    LOG.debug("Using Jaxen classes for XPath support");
  }
}

static public void useJaxenXPathSupport ( ) throws Exception { Class . forName ( "org.jaxen.dom.DOMXPath" ) ; Class c = Class . forName ( "freemarker.ext.dom.JaxenXPathSupport" ) ; jaxenXPathSupport = ( XPathSupport ) c . newInstance ( ) ; synchronized ( STATIC_LOCK ) { xpathSupportClass = c ; } if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "Using Jaxen classes for XPath support" ) ; } }
convenience method . tells the system to use jaxen for xpath queries .
