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

fj_doc_lib_autodoc.template.autodoc_macro.ftl Maven / Gradle / Ivy

There is a newer version: 8.11.1
Show newest version
<#macro handleMultiElementOccurs multiElement>
	<#if multiElement.content.minOccurs?? || multiElement.content.maxOccurs??>[${multiElement.content.minOccurs}-${multiElement.content.maxOccurs}]


<#macro handleMultiElement multiElement separator>
	<#if multiElement.xsdElements??>(<#list multiElement.xsdElements as element><#if element?index != 0>${separator}${element.rawName})<@handleMultiElementOccurs multiElement=multiElement/>
	<#if multiElement.autodocChoices??><#list multiElement.autodocChoices as current><@handleMultiElement multiElement=current separator=' | '/>
	<#if multiElement.autodocSequence??><#list multiElement.autodocSequence as current><@handleMultiElement multiElement=current separator=' , '/>


<#macro handleTypeChildren autodocType>
	<#if autodocType.choice??><@handleMultiElement multiElement=autodocType.choice separator=' | '/>
	<#if autodocType.sequence??><@handleMultiElement multiElement=autodocType.sequence separator=' , '/>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy