Class Main

java.lang.Object
net.sf.saxon.Transform
org.docbook.xsltng.Main

public class Main extends net.sf.saxon.Transform
Main driver program for executing the stylesheets.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
    The catalog file to use by default
    protected org.docbook.xsltng.extensions.DebuggingLogger
    The debugging logger.
    protected XslTNG
    The XslTNG object used for processing.

    Fields inherited from class net.sf.saxon.Transform

    allowExit, repeat, run, schemaAware, showTime, sourceParserName, useURLs
  • Constructor Summary

    Constructors
    Constructor
    Description
    Main(String[] args)
    Instantiate the main object.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    badUsage(String message)
    Print the help message for bad usage.
    static void
    main(String[] args)
    Run the command.
    void
    run()
    Run the transform.

    Methods inherited from class net.sf.saxon.Transform

    applyLocalOptions, doTransform, doTransform, getConfiguration, initializeConfiguration, newTransformer, now, preprocess, processFile, quit, setFactoryConfiguration, setPermittedOptions

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • logger

      protected org.docbook.xsltng.extensions.DebuggingLogger logger
      The debugging logger.
    • catalogFile

      protected String catalogFile
      The catalog file to use by default
    • xslTNG

      protected XslTNG xslTNG
      The XslTNG object used for processing.
  • Constructor Details

    • Main

      public Main(String[] args)
      Instantiate the main object.
      Parameters:
      args - The command line objects.
  • Method Details

    • main

      public static void main(String[] args)
      Run the command.
      Parameters:
      args - The command line arguments.
    • run

      public void run()
      Run the transform.
    • badUsage

      protected void badUsage(String message)
      Print the help message for bad usage.
      Overrides:
      badUsage in class net.sf.saxon.Transform
      Parameters:
      message - The error message