Package org.apache.plc4x.language.java
Class JavaLanguageOutput
java.lang.Object
org.apache.plc4x.plugins.codegenerator.protocol.freemarker.FreemarkerLanguageOutput
org.apache.plc4x.language.java.JavaLanguageOutput
- All Implemented Interfaces:
org.apache.plc4x.plugins.codegenerator.language.LanguageOutput
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<freemarker.template.Template> getComplexTypeTemplates(freemarker.template.Configuration freemarkerConfiguration) protected List<freemarker.template.Template> getDataIoTemplates(freemarker.template.Configuration freemarkerConfiguration) protected List<freemarker.template.Template> getEnumTypeTemplates(freemarker.template.Configuration freemarkerConfiguration) protected FreemarkerLanguageTemplateHelpergetHelper(org.apache.plc4x.plugins.codegenerator.types.definitions.TypeDefinition thisType, String protocolName, String flavorName, Map<String, org.apache.plc4x.plugins.codegenerator.types.definitions.TypeDefinition> types, Map<String, Object> options) getName()protected List<freemarker.template.Template> getSpecTemplates(freemarker.template.Configuration freemarkerConfiguration) protected voidpostProcessTemplateOutput(File outputFile) Methods inherited from class org.apache.plc4x.plugins.codegenerator.protocol.freemarker.FreemarkerLanguageOutput
generate, getMiscTemplates, renderTemplate
-
Constructor Details
-
JavaLanguageOutput
public JavaLanguageOutput()
-
-
Method Details
-
getName
-
supportedOptions
-
supportedOutputFlavors
-
getSpecTemplates
protected List<freemarker.template.Template> getSpecTemplates(freemarker.template.Configuration freemarkerConfiguration) - Specified by:
getSpecTemplatesin classFreemarkerLanguageOutput
-
getComplexTypeTemplates
protected List<freemarker.template.Template> getComplexTypeTemplates(freemarker.template.Configuration freemarkerConfiguration) throws IOException - Specified by:
getComplexTypeTemplatesin classFreemarkerLanguageOutput- Throws:
IOException
-
getEnumTypeTemplates
protected List<freemarker.template.Template> getEnumTypeTemplates(freemarker.template.Configuration freemarkerConfiguration) throws IOException - Specified by:
getEnumTypeTemplatesin classFreemarkerLanguageOutput- Throws:
IOException
-
getDataIoTemplates
protected List<freemarker.template.Template> getDataIoTemplates(freemarker.template.Configuration freemarkerConfiguration) throws IOException - Specified by:
getDataIoTemplatesin classFreemarkerLanguageOutput- Throws:
IOException
-
getHelper
protected FreemarkerLanguageTemplateHelper getHelper(org.apache.plc4x.plugins.codegenerator.types.definitions.TypeDefinition thisType, String protocolName, String flavorName, Map<String, org.apache.plc4x.plugins.codegenerator.types.definitions.TypeDefinition> types, Map<String, Object> options) - Specified by:
getHelperin classFreemarkerLanguageOutput
-
postProcessTemplateOutput
- Overrides:
postProcessTemplateOutputin classFreemarkerLanguageOutput
-