org.yawlfoundation.yawl.util
Class SaxonUtil

java.lang.Object
  extended by org.yawlfoundation.yawl.util.SaxonUtil

public class SaxonUtil
extends Object

Author: Michael Adams Creation Date: 10/07/2008


Constructor Summary
SaxonUtil()
           
 
Method Summary
static net.sf.saxon.s9api.XQueryExecutable compileXQuery(String query)
           
static List evaluateListQuery(String query, org.jdom.Element data)
           
static String evaluateQuery(String query, org.jdom.Document dataDoc)
           
static org.jdom.Element evaluateTreeQuery(String query, org.jdom.Document dataDoc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaxonUtil

public SaxonUtil()
Method Detail

evaluateQuery

public static String evaluateQuery(String query,
                                   org.jdom.Document dataDoc)
                            throws net.sf.saxon.s9api.SaxonApiException
Throws:
net.sf.saxon.s9api.SaxonApiException

evaluateTreeQuery

public static org.jdom.Element evaluateTreeQuery(String query,
                                                 org.jdom.Document dataDoc)
                                          throws net.sf.saxon.s9api.SaxonApiException
Throws:
net.sf.saxon.s9api.SaxonApiException

evaluateListQuery

public static List evaluateListQuery(String query,
                                     org.jdom.Element data)
                              throws net.sf.saxon.s9api.SaxonApiException
Throws:
net.sf.saxon.s9api.SaxonApiException

compileXQuery

public static net.sf.saxon.s9api.XQueryExecutable compileXQuery(String query)
                                                         throws net.sf.saxon.s9api.SaxonApiException
Throws:
net.sf.saxon.s9api.SaxonApiException


Copyright © 2004-2012 The YAWL Foundation.