public class StatsTransform extends Transform
Modifier and Type | Class and Description |
---|---|
class |
StatsTransform.StatsCase
A class to describe a statistic 'case' - a binding for configuration and working directory
|
class |
StatsTransform.StatsGroup
A class to describe a common group of statistics cases.
|
allowExit, compiler, processor, repeat, run, schemaAware, showTime, sourceParserName, useURLs
Constructor and Description |
---|
StatsTransform() |
Modifier and Type | Method and Description |
---|---|
void |
doSimpleTransform(String sourceFileName,
StreamSource styleSource,
String outputFileName)
Run a simple single transform, taking the stylesheet from a source.
|
void |
doTransform(StatsTransform.StatsCase sc,
CommandLineOptions options)
Execute a transform for a given statistics case
|
void |
doTransform(String[] args,
String command)
Support method for main program.
|
static void |
main(String[] args) |
void |
setPermittedOptions(StatsCommandLineOptions options) |
applyLocalOptions, badUsage, getConfiguration, initializeConfiguration, newTransformer, now, preprocess, processFile, quit, setFactoryConfiguration, setPermittedOptions
public void setPermittedOptions(StatsCommandLineOptions options)
public void doTransform(String[] args, String command)
Transform
doTransform
in class Transform
args
- the command-line argumentscommand
- the form of the command as written by the user. Not used, retained for backwards compatibilitypublic void doTransform(StatsTransform.StatsCase sc, CommandLineOptions options)
sc
- the statistics case to be evaluatedoptions
- command line optionspublic void doSimpleTransform(String sourceFileName, StreamSource styleSource, String outputFileName)
sourceFileName
- styleSource
- outputFileName
- Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.