org.apache.batik.apps.svgpp
public class Main extends Object
svgpp is a pretty-printer for SVG source files.
Nested Class Summary | |
---|---|
protected class | Main.DoctypeHandler
To handle the '-doctype' option. |
protected class | Main.DocWidthHandler
To handle the '-doc-width' option. |
protected class | Main.NewlineHandler
To handle the '-newline' option. |
protected class | Main.NoFormatHandler
To handle the '-no-format' option. |
protected interface | Main.OptionHandler
This interface represents an option handler. |
protected class | Main.PublicIdHandler
To handle the '-public-id' option. |
protected class | Main.SystemIdHandler
To handle the '-system-id' option. |
protected class | Main.TabWidthHandler
To handle the '-tab-width' option. |
protected class | Main.XMLDeclHandler
To handle the '-xml-decl' option. |
Field Summary | |
---|---|
protected String[] | arguments
The arguments. |
static String | BUNDLE_CLASSNAME
The default resource bundle base name. |
protected Map | handlers
The option handlers. |
protected int | index
The current index. |
protected static LocalizableSupport | localizableSupport
The localizable support. |
protected Transcoder | transcoder
The transcoder. |
Constructor Summary | |
---|---|
Main(String[] args)
Initializes the application. |
Method Summary | |
---|---|
static void | main(String[] args)
The application main method. |
protected void | printHeader()
Prints the command header. |
protected void | printUsage()
Prints the command usage. |
void | run()
Runs the pretty printer. |
Parameters: args The command-line arguments.
Parameters: args The command-line arguments.