|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Wurbiler
The wurblet compiler.
| Method Summary | |
|---|---|
int |
compile()
Compiles the wurbelizable. |
String[] |
getArgs()
Gets the preset wurblet args. |
String[] |
getImports()
Gets the list of imports. |
int |
getIndent()
Gets the source indentation. |
Logger |
getLogger()
Gets the logger for warnings and errors. |
String |
getOutName()
Gets the name of the output stream |
String |
getPackageName()
Gets the package name. |
String |
getParentClass()
Gets the parent class. |
List<String> |
getSourceList()
Gets the list of invariant wurblet strings of the output level. |
boolean |
isAutoIndent()
Gets the autoindent feature. |
void |
setArgs(String[] args)
Preset wurblet args. |
void |
setAutoIndent(boolean autoIndent)
Sets the autoindent feature. |
void |
setImports(String[] imports)
Sets the imports. |
void |
setIndent(int indent)
Sets the indentation for code generating the source. |
void |
setLogger(Logger logger)
Sets the logger for warnings and errors. |
void |
setOutName()
Sets name of the output stream to the default value (out). |
void |
setOutName(String outName)
Sets the name of the output stream in the generated source. |
void |
setPackageName(String packageName)
Sets the package name. |
void |
setParentClass(String parentClass)
Sets the parent class. |
void |
setSourceList(List<String> sourceList)
Presets the list of invariant wurblet strings of the output level. |
| Method Detail |
|---|
int compile()
throws IOException
IOException - if compilation failed due to i/o errorList<String> getSourceList()
void setSourceList(List<String> sourceList)
sourceList - the source list, null if compile() should initialize itint getIndent()
void setIndent(int indent)
indent - the new indentationvoid setAutoIndent(boolean autoIndent)
autoIndent - true to enable autoindent (default)boolean isAutoIndent()
void setOutName(String outName)
outName - null sets to the default value "out".void setOutName()
String getOutName()
Logger getLogger()
void setLogger(Logger logger)
logger - New value of property logger.String getPackageName()
void setPackageName(String packageName)
packageName - the package nameString getParentClass()
void setParentClass(String parentClass)
parentClass - the name of the parent class, null if default (AbstractWurblet)String[] getImports()
void setImports(String[] imports)
imports - is the array of importsString[] getArgs()
void setArgs(String[] args)
args - the wurblet args
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||