public class EventSourceInterfaceGenerator extends FreeMarkerWriter<EventModel> implements CdkWriter
| Constructor and Description |
|---|
EventSourceInterfaceGenerator(FreeMarkerRenderer configuration,
FileManager output) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getOutputFileName(EventModel c) |
protected String |
getTemplateName() |
void |
render(ComponentLibrary library) |
generate, getJavaFileName, getOutput@Inject public EventSourceInterfaceGenerator(FreeMarkerRenderer configuration, FileManager output)
public void render(ComponentLibrary library) throws CdkException
render in interface CdkWriterCdkExceptionprotected String getOutputFileName(EventModel c) throws CdkException
getOutputFileName in class FreeMarkerWriter<EventModel>CdkExceptionprotected String getTemplateName()
getTemplateName in class FreeMarkerWriter<EventModel>Copyright © 2014 JBoss by Red Hat. All Rights Reserved.