public class Options
extends <any>
Options()
.
#parse(String[],MessageReceiver)
has_[X]()
. get_[X]_[n]()
. get_[X]_[n](k)
. If anything went wrong in parsing, errors
have been sent to the MessageReceiver
.
Then further analysis methods can be applied (#getParsingProtocol()
, #getMissingOptions()
, #usage()
, etc.)
For further details. please see the
documentation of the methods inherited from the superclass Model
and the option
compiler's user documentation.
Here is the source text.
There have been description texts only in one language, namely en.
The usage()
method will show this screen:
====== usage: ====== -0 / --destdir string(="") file system mounting point of the generated source tree -1 / --pkgname string(="") name of the generated package. Determines the position of generated resources relative to destdir -2 / --sourcedtd string(="") file position of dtd to compile --linewidth int(=78) number of columns for the generated Java source text. This is NOT a strict limit, but a strong orientation. --patterns (bool)?(=true iff present) whether "paisley" pattern access methods shall be generated. --noCompress (bool)?(=true iff present) whether the decode/encode methods shall be omitted --commonContentClass (bool)?(=true iff present) whether to generate only one common subclass of MixedContent for PCData only elements per model -C / --baseClass string(="eu.bandm.tools.tdom.runtime.TypedElement") base class for all generated element classes --generateLists boolean(=false) generate checked list classes for repeated sub-contents, not arrays
Modifier and Type | Class and Description |
---|---|
class |
Options.Descriptions
Programmatically generated catalog of translations.
|
Modifier and Type | Field and Description |
---|---|
protected boolean |
has_baseClass |
protected boolean |
has_commonContentClass |
protected boolean |
has_destdir |
protected boolean |
has_generateLists |
protected boolean |
has_linewidth |
protected boolean |
has_noCompress |
protected boolean |
has_patterns |
protected boolean |
has_pkgname |
protected boolean |
has_sourcedtd |
protected String |
value_baseClass_0 |
protected boolean |
value_commonContentClass_0 |
protected String |
value_destdir_0 |
protected boolean |
value_generateLists_0 |
protected int |
value_linewidth_0 |
protected boolean |
value_noCompress_0 |
protected boolean |
value_patterns_0 |
protected String |
value_pkgname_0 |
protected String |
value_sourcedtd_0 |
Constructor and Description |
---|
Options() |
Modifier and Type | Method and Description |
---|---|
protected void |
_finalCheck() |
String |
_getMissingOptions() |
String |
_getRedundantOptions() |
protected void |
checkActive() |
String |
get_baseClass_0()
Getter method for the only argument of option
baseClass . |
boolean |
get_commonContentClass_0()
Getter method for the 0th argument of option
commonContentClass . |
String |
get_destdir_0()
Getter method for the only argument of option
destdir . |
boolean |
get_generateLists_0()
Getter method for the only argument of option
generateLists . |
int |
get_linewidth_0()
Getter method for the only argument of option
linewidth . |
boolean |
get_noCompress_0()
Getter method for the 0th argument of option
noCompress . |
boolean |
get_patterns_0()
Getter method for the only argument of option
patterns . |
String |
get_pkgname_0()
Getter method for the only argument of option
pkgname . |
String |
get_sourcedtd_0()
Getter method for the only argument of option
sourcedtd . |
boolean |
has_baseClass()
Deprecated.
|
boolean |
has_commonContentClass()
Deprecated.
|
boolean |
has_destdir()
Deprecated.
|
boolean |
has_generateLists()
Deprecated.
|
boolean |
has_linewidth()
Deprecated.
|
boolean |
has_noCompress()
Deprecated.
|
boolean |
has_patterns()
Deprecated.
|
boolean |
has_pkgname()
Deprecated.
|
boolean |
has_sourcedtd()
Deprecated.
|
Options |
makeDefaultInstance() |
protected int |
numberOfPositionals() |
protected void |
parseAbbrev(String select) |
protected void |
parseName(String select) |
protected void |
parsePositionals() |
String |
serialize() |
void |
usage_en()
Print usage information in the language 'en' on System.err.
|
void |
usage_en(PrintStream pr)
Print usage information in the language 'en'.
|
void |
usage(PrintStream pr)
Print usage information in the default language.
|
void |
usage(PrintStream pr,
String lang)
Print usage information in the requested language.
|
protected boolean has_destdir
protected String value_destdir_0
protected boolean has_pkgname
protected String value_pkgname_0
protected boolean has_sourcedtd
protected String value_sourcedtd_0
protected boolean has_linewidth
protected int value_linewidth_0
protected boolean has_patterns
protected boolean value_patterns_0
protected boolean has_noCompress
protected boolean value_noCompress_0
protected boolean has_commonContentClass
protected boolean value_commonContentClass_0
protected boolean has_baseClass
protected String value_baseClass_0
protected boolean has_generateLists
protected boolean value_generateLists_0
public Options makeDefaultInstance()
protected void checkActive()
@Deprecated public boolean has_destdir()
get_destdir_0()
.public String get_destdir_0()
destdir
.
-0 / --destdir string(="")
@Deprecated public boolean has_pkgname()
get_pkgname_0()
.public String get_pkgname_0()
pkgname
.
-1 / --pkgname string(="")
@Deprecated public boolean has_sourcedtd()
get_sourcedtd_0()
.public String get_sourcedtd_0()
sourcedtd
.
-2 / --sourcedtd string(="")
@Deprecated public boolean has_linewidth()
get_linewidth_0()
.public int get_linewidth_0()
linewidth
.
--linewidth int(=78)
@Deprecated public boolean has_patterns()
get_patterns_0()
.public boolean get_patterns_0()
patterns
.
--patterns (bool)?(=true iff present)
@Deprecated public boolean has_noCompress()
get_noCompress_0()
.public boolean get_noCompress_0()
noCompress
.
--noCompress (bool)?(=true iff present)
@Deprecated public boolean has_commonContentClass()
get_commonContentClass_0()
.public boolean get_commonContentClass_0()
commonContentClass
.
--commonContentClass (bool)?(=true iff present)
@Deprecated public boolean has_baseClass()
get_baseClass_0()
.public String get_baseClass_0()
baseClass
.
-C / --baseClass string(="eu.bandm.tools.tdom.runtime.TypedElement")
@Deprecated public boolean has_generateLists()
get_generateLists_0()
.public boolean get_generateLists_0()
generateLists
.
--generateLists boolean(=false)
public String serialize()
public void usage(PrintStream pr)
public void usage(PrintStream pr, String lang)
public void usage_en()
public void usage_en(PrintStream pr)
protected void parseAbbrev(String select)
protected void parseName(String select)
protected int numberOfPositionals()
protected void parsePositionals()
protected void _finalCheck()
public String _getMissingOptions()
public String _getRedundantOptions()
see also the complete user documentation .