Uses of Class
eu.bandm.tools.d2d2.base.Options
Package
Description
D2d allows to write valid XML documents directly in the creative flow of authoring,
with minimum typographic noise.
-
Uses of Options in eu.bandm.tools.d2d2.base
Modifier and TypeMethodDescriptionprotected void
Main.check_noKey
(Options options) Ensure that no key or keys option is given.protected void
Main.checkKeyIsSet
(Options options, String txt) Check for option "-k/--key".void
Main.execute
(Options options, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) Execute an Option model (mostly GUI-generated).boolean
Execute the CLI-parsed or GUI-generated Option model.Extract an input and an output file name from the options (option --source and --outputfile).protected String
Main.getInputName
(Options options) Extract an input file name from options and ensure no output file name is given.Main.getKey_split
(Options options) Split the command line option "-k/--key" withMain.splitAndCheckKey(MessageReceiver,String)
.protected Text2Udom.ErrorStrategy
Main.initErrorStrategy
(Options options) Construct an eror strategy according to the command line options.protected ModuleRegistry
Main.initModuleReg
(Options options) Construct a module registry according to the command line options.protected String
Synthesize text for use in messages which indicates the selected "mode"void
-
Uses of Options in eu.bandm.tools.d2d2.demo