Skip to content

Commit

Permalink
Generating full path to @element annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
4everalone committed Jun 12, 2013
1 parent 00d5e7b commit 5780483
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ${import};
*/
[/#if]
[#if clazz.rootElementAnnotation?? && clazz.rootElementAnnotation.parameterProvided]
@${clazz.rootElementAnnotation}
@com.leansoft.nano.annotation.${clazz.rootElementAnnotation}
[/#if]
[#--
[#if clazz.xmlTypeAnnotation?? && clazz.xmlTypeAnnotation.parameterProvided]
Expand All @@ -36,9 +36,9 @@ public [#if clazz.abstract]abstract [/#if]class ${clazz.name} [#if clazz.superCl
[/#if]
[#elseif field.element][#-- map to xml element --]
[#if field.elementAnnotation?? && field.elementAnnotation.parameterProvided]
@${field.elementAnnotation}
@com.leansoft.nano.annotation.${field.elementAnnotation}
[#else]
@Element
@com.leansoft.nano.annotation.Element
[/#if]
[#elseif field.value][#-- map to xml value --]
@Value
Expand Down

0 comments on commit 5780483

Please sign in to comment.