|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.tools.patternengine.PatternGenerator
Use this class to perform code generation based on the input pattern meta data file.
| Constructor Summary | |
PatternGenerator(URL patternMetaData)
Creates new PatternGenerator. |
|
| Method Summary | |
void |
destroy()
This method is to be invoked, when done with the code generation. |
static void |
main(String[] args)
This will create an instance of the PatternGenerator, passing the URL corresponding to the input argument. |
void |
processPattern()
This will invoke the Pattern Generation routine. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PatternGenerator(URL patternMetaData)
throws PatternGeneratorException
patternMetaData - the pattern meta data file to be used for code generation.
PatternGeneratorException - if any error occurs.| Method Detail |
public void destroy()
public void processPattern()
throws PatternGeneratorException
PatternGeneratorException - if any error occurs.public static void main(String[] args)
args - This expects at least one argument to be passed in. This should represent the patternMetaData file, relative to the classpath. If a directory of passed, then the optional second argument determines, if a recursive search is to be performed on the directory.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||