All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.templates.java.util.ftl Maven / Gradle / Ivy

The newest version!
<#macro constant type name><#assign code><#nested>${addConstant(type,name,code)}
<#macro require name>${addRequiredMethod(name)}
<#macro import name>${addImport(name)}
<#macro concat seq delimiter=","><#list seq as item><#nested item/><#if item_has_next>${delimiter}

<#macro attributesField fieldName attributes>
	<@require "CREATE_ATTRIBUTES"/>
	<@constant "Attributes" "${fieldName}">${CREATE_ATTRIBUTES}()<#list attributes as attribute>
	     .${attribute.builderMethod}("${attribute.name}","${attribute.componentAttribute}"<#list attribute.behaviors as behavior>,"${behavior}")
	     <#if attribute.defaultValue?exists >.defaultValue(${attribute.defaultValue})
	





© 2015 - 2024 Weber Informatics LLC | Privacy Policy