public class Main
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Main.Options |
Modifier and Type | Field and Description |
---|---|
private TxwOptions |
opts |
Constructor and Description |
---|
Main(TxwOptions opts) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getVersion()
Gets the version number of TXW.
|
static void |
main(java.lang.String[] args) |
private static org.kohsuke.rngom.parse.Parseable |
makeRELAXNGSource(Main.Options opts,
org.xml.sax.InputSource in,
org.xml.sax.ErrorHandler eh,
java.io.File f) |
private static SchemaBuilder |
makeSourceSchema(org.kohsuke.args4j.CmdLineParser parser,
Main.Options opts,
org.xml.sax.ErrorHandler eh)
Parses the command line and makes a
Parseable object
out of the specified schema file. |
private static void |
printUsage() |
private int |
run() |
static int |
run(java.lang.String[] args) |
static int |
run(TxwOptions opts) |
private final TxwOptions opts
public Main(TxwOptions opts)
public static void main(java.lang.String[] args)
public static int run(java.lang.String[] args)
private static SchemaBuilder makeSourceSchema(org.kohsuke.args4j.CmdLineParser parser, Main.Options opts, org.xml.sax.ErrorHandler eh) throws java.net.MalformedURLException
Parseable
object
out of the specified schema file.java.net.MalformedURLException
private static org.kohsuke.rngom.parse.Parseable makeRELAXNGSource(Main.Options opts, org.xml.sax.InputSource in, org.xml.sax.ErrorHandler eh, java.io.File f)
private static void printUsage()
public static int run(TxwOptions opts)
private int run()
public static java.lang.String getVersion()