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, explain, explainOutputFileName, moduleURIResolverClass, outputFileName, processor, projection, queryFileName, repeat, showTime, sourceFileName, streaming, updating, uriResolverClass, 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` | `preprocess​(java.util.List sources)` |

    - ### Methods inherited from class net.sf.saxon.Query

      `applyLocalOptions, badUsage, compileQuery, createFileIfNecessary, doQuery, explain, getConfiguration, initializeConfiguration, parseOptions, processSource, processSourceFile, quit, runQuery, runUpdate, setPermittedOptions`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JDOM2Query

          public JDOM2Query()

  - ### Method Detail

    - #### preprocess

          public java.util.List preprocess​(java.util.List sources)
                                    throws XPathException

      Throws:
        `XPathException`

    - #### main

          public static void main​(java.lang.String[] args)