Class JDOMTransform

java.lang.Object
net.sf.saxon.Transform
net.sf.saxon.jdom.JDOMTransform

public class JDOMTransform extends Transform
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.
  • Constructor Details

    • JDOMTransform

      public JDOMTransform()
  • Method Details

    • preprocess

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

      public static void main(String[] args)