Class JDOM2Transform

  • public class JDOM2Transform
    extends Transform
    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.
    • Constructor Detail

      • JDOM2Transform

        public JDOM2Transform()
    • Method Detail

      • preprocess

        public java.util.List<javax.xml.transform.Source> preprocess​(java.util.List<javax.xml.transform.Source> 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, typically to handle kinds of Source implemented as extensions to the basic Saxon capability
        preprocess in class Transform
        sources - the list of Source objects
        a revised list of Source objects
        XPathException - if a Source object is not recognized
      • main

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