public class Batch extends Object
Main
and to
Webstart
.
nonStatic_main(String[])
.
Modifier and Type | Field and Description |
---|---|
protected int |
debuglevel |
static String |
filename_template_transformations |
static String |
filenameStemPlaceholder |
protected Text2Udom.ErrorStrategy |
interactiveErrorStrategy |
protected ModuleRegistry |
moduleRegistry |
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
msg |
protected MessageCounter<SimpleMessage<XMLDocumentIdentifier>> |
msg_counter |
protected BatchOptions |
options |
protected NamespaceName2String |
stylesheetParams |
Constructor and Description |
---|
Batch() |
Modifier and Type | Method and Description |
---|---|
protected EnumSet<Options.traceflag> |
convert(EnumSet<BatchOptions.traceflag> set)
Convert an enum set of trace flags defined HERE to a set of xslt flags,
identified by NAME.
|
protected @Opt Transformation |
do_loadTransformationForModule(ResolvedModule mod,
int pos) |
protected void |
error(Exception ex,
String s) |
protected void |
error(Exception ex,
String s,
Object... args) |
protected void |
error(String s) |
protected void |
error(String s,
Object... args) |
protected void |
failure(String s) |
protected int |
getLineWidth() |
protected void |
getStylesheetParams()
First put all param file names, than the explicit parameters
from the command line, with higher priority.
FIXME abstract + unify with xslt/base/Main |
protected void |
initInteractiveErrorStrategy() |
protected void |
initModuleReg() |
protected @Opt Transformation |
loadTransformationForModule(ResolvedModule mod,
int pos) |
protected void |
log(String s) |
protected void |
logEnd(String s) |
protected void |
logStart(String s) |
static void |
main(String[] args) |
protected void |
nonStatic_main(String[] args)
Central command line processing method.
|
protected void |
printErrorCounter() |
protected void |
terminateApplicationOnErrors_printUsage() |
protected void |
terminateApplicationOnErrors() |
protected void |
warning(String s) |
public static final String filenameStemPlaceholder
public static final String filename_template_transformations
protected ModuleRegistry moduleRegistry
protected Text2Udom.ErrorStrategy interactiveErrorStrategy
protected NamespaceName2String stylesheetParams
protected final BatchOptions options
protected int debuglevel
protected MessageCounter<SimpleMessage<XMLDocumentIdentifier>> msg_counter
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg
protected void error(String s)
protected void failure(String s)
protected void warning(String s)
protected void log(String s)
protected void logStart(String s)
protected void logEnd(String s)
protected void printErrorCounter()
protected void terminateApplicationOnErrors_printUsage()
protected void terminateApplicationOnErrors()
protected int getLineWidth()
protected void initModuleReg()
protected void initInteractiveErrorStrategy()
protected void getStylesheetParams()
protected EnumSet<Options.traceflag> convert(EnumSet<BatchOptions.traceflag> set)
protected void nonStatic_main(String[] args) throws Exception
BatchOptions
.
The processing uses the metatoos xslt 1.0 implementation "txsl", and the
options INCLUDE also all txsl options.
filenameStemPlaceholder
can be used in these parameter values
and will be replaced by the file name stem currently processed.
Exception
@Opt protected @Opt Transformation loadTransformationForModule(ResolvedModule mod, int pos)
mod
- resolved module containing the definition of the top-most element to translateint
- position in the command line list of transformations@Opt protected @Opt Transformation do_loadTransformationForModule(ResolvedModule mod, int pos)
see also the complete user documentation .