net.sf.saxon.dom

Class DOMTransform


public class DOMTransform
extends Transform

Variant of command line net.sf.saxon.Transform do build the source document in DOM and then proceed with the transformation. This class is provided largely for testing purposes.

Field Summary

Fields inherited from class net.sf.saxon.Transform

config, factory, repeat, showTime, useURLs

Method Summary

static void
main(String[] args)
List
preprocess(List sources)
Preprocess the list of sources.

Methods inherited from class net.sf.saxon.Transform

badUsage, doTransform, getConfiguration, loadDocuments, main, now, preprocess, processDirectory, processDirectoryAssoc, processFile, processFileAssoc, quit, setFactoryConfiguration

Method Details

main

public static void main(String[] args)

preprocess

public List preprocess(List sources)
            throws XPathException
Preprocess the list of sources. This method exists so that it can be overridden in a subclass
Overrides:
preprocess in interface Transform
Parameters:
sources - the list of Source objects
Returns:
a revised list of Source objects