net.sf.saxon.jdom
Class JDOMQuery
java.lang.Object
net.sf.saxon.Query
net.sf.saxon.jdom.JDOMQuery
- public class JDOMQuery
- extends Query
Variant of command line net.sf.saxon.Transform do build the source document
in JDOM and then proceed with the transformation. This class is provided largely for
testing purposes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDOMQuery
public JDOMQuery()
preprocess
public List preprocess(List sources)
throws XPathException
- Throws:
XPathException
main
public static void main(String[] args)
- Description copied from class:
Query
- Main program, can be used directly from the command line.
The format is:
java net.sf.saxon.Query [options] query-file >output-file
followed by any number of parameters in the form {keyword=value}... which can be
referenced from within the query.
This program executes the query in query-file.