Class BatchProcessor.Job

java.lang.Object
eu.bandm.tools.d2d2.base.BatchProcessor.Job
Enclosing class:
BatchProcessor

public static final class BatchProcessor.Job extends Object
Represents one transformation job, with all its parameters, to be applied to multiple d2d source file inputs.
  • Field Details

    • targetName

      final String targetName
      Key under which the xslt rules are found in the ddf. For instance as in "docu to_[xhtml_1_0] = ..."
    • resultContext

      final ResultContext resultContext
      ResultContext as constructed by the txsl runtime system.
    • topElementName

      @Opt final @Opt String topElementName
      Identifier of the topmost definition which will be produced by the xslt transformation. This is the local name w.r.t. the tdom (respectively its underlying definition module). It will be inserted into the header of the extracted xslt-d2d source, only to define the "accessible" back-end elements.
    • functionLibrary

      @Opt final @Opt FunctionLibrary<Node> functionLibrary
      Library of additinal functions to be usable in tpath exprs.
    • stylesheetParams

      final NamespaceName2String stylesheetParams
      User-defined parameters for the xslt code.
    • constParams

      final Map<NamespaceName,Value<Node>> constParams
      Xslt parameters which do not depend from the name of the input file.
    • varyingParams

      final Map<NamespaceName,String> varyingParams
      Xslt parameters which depend from the name of the input file, by the SimpleFilePattern template rules.
    • noTxsl

      final boolean noTxsl
      Flag to use a standard XSL-T processor provided by he Java runtime system, INSTEAD of txsl. This may be necessary if there is no tdom for a target text format. CURRENTLY NOT YET SUPPORTED.
    • outFilePattern

      final SimpleFilePattern outFilePattern
      The template to derive the name of the result file from the name of the input file. (The directory position of all input files can be either derived from that of the input file or set explicitly.)
  • Constructor Details

  • Method Details

    • format

      public Format format()