|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.vishia.zbnf.Zbnf2Xml
public class Zbnf2Xml
This class contains a public static main routine callable from command line
and a execute-routine callable form eclipse-ANT (TODO)
to convert Plain Syntactical Textfiles via ZBNF to xml-output, using the vishia-ZBNF-parser.
To invoke the conversion use the commandline version with parameters see help output
getting by invoking without parameters.
short description: invoke:
>java cp $CLASSPATH vishia.strincScan.SBNF2Xml -iINPUT -sSBNF -yXMLOUTPUT
| Nested Class Summary | |
|---|---|
(package private) class |
Zbnf2Xml.CmdLine
The inner class CmdLine helps to evaluate the command line arguments and show help messages on command line. |
static interface |
Zbnf2Xml.PrepareXmlNode
|
| Field Summary | |
|---|---|
(package private) java.util.List<java.lang.String> |
additionalSemantic
|
(package private) java.nio.charset.Charset |
encoding
Encoding given from cmdline argument -x, -y or -z |
(package private) Report |
report
Help reference to name the report output. |
(package private) java.lang.String |
sFileIn
Cmdline-argument, set on -i option. |
(package private) java.lang.String |
sFileOut
Cmdline-argument, set on -o option. |
(package private) java.lang.String |
sFileSyntax
Cmdline-argument, set on -y option. |
| Constructor Summary | |
|---|---|
Zbnf2Xml()
Constructor of the main class. |
|
Zbnf2Xml(java.lang.String input,
java.lang.String syntax,
java.lang.String output,
Report report)
|
|
| Method Summary | |
|---|---|
boolean |
execute()
|
static void |
main(java.lang.String[] args)
main started from java |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.lang.String sFileIn
java.lang.String sFileSyntax
java.lang.String sFileOut
java.nio.charset.Charset encoding
java.util.List<java.lang.String> additionalSemantic
Report report
| Constructor Detail |
|---|
public Zbnf2Xml()
public Zbnf2Xml(java.lang.String input,
java.lang.String syntax,
java.lang.String output,
Report report)
| Method Detail |
|---|
public static void main(java.lang.String[] args)
public boolean execute()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||