Package net.sf.saxon.option.jdom2
Class JDOM2Query
- java.lang.Object
-
- net.sf.saxon.Query
-
- net.sf.saxon.option.jdom2.JDOM2Query
-
public class JDOM2Query extends Query
Variant of command line net.sf.saxon.Transform do build the source document in JDOM2 and then proceed with the transformation. This class is provided largely for testing purposes.
-
-
Field Summary
-
Fields inherited from class net.sf.saxon.Query
backup, config, explaining, explainOutputFileName, languageVersion, moduleURIResolverClass, outputFileName, projection, queryFileName, repeat, showTime, sourceJsonFileName, sourceXmlFileName, streaming, updating, useURLs, wrap, writeback
-
-
Constructor Summary
Constructors Constructor Description JDOM2Query()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
java.util.List<JDOM2DocumentWrapper>
preprocess(java.util.List<javax.xml.transform.sax.SAXSource> sources)
-
Methods inherited from class net.sf.saxon.Query
applyLocalOptions, badUsage, compileQuery, createFileIfNecessary, doQuery, doQuery, explain, getConfiguration, initializeConfiguration, processSource, processSourceFile, quit, runQuery, runUpdate
-
-
-
-
Method Detail
-
preprocess
public java.util.List<JDOM2DocumentWrapper> preprocess(java.util.List<javax.xml.transform.sax.SAXSource> sources) throws XPathException
- Throws:
XPathException
-
main
public static void main(java.lang.String[] args)
-
-