You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

task_xdoc.template 2.2 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <XDtTagDef:tagDef namespace="Ant" handler="org.apache.tools.ant.xdoclet.TaskTagsHandler"/>
  2. <task name="<XDtAnt:taskName/>" category="<XDtAnt:categoryName/>"
  3. classname="<XDtClass:fullClassName/>">
  4. <XDtMerge:merge file="{0}.xml" generateMergedFile="false"></XDtMerge:merge>
  5. <short-description><![CDATA[<XDtClass:firstSentenceDescription/>]]></short-description>
  6. <long-description>
  7. <![CDATA[<XDtClass:classComment no-comment-signs="true"/>]]>
  8. </long-description>
  9. <structure>
  10. <attributes>
  11. <XDtAnt:forAllAttributes>
  12. <attribute name="<XDtMethod:propertyName/>" type="<XDtParameter:forAllMethodParams><XDtParameter:methodParamType/></XDtParameter:forAllMethodParams>">
  13. <description><![CDATA[
  14. <XDtMethod:methodComment no-comment-signs="true"/>
  15. ]]></description>
  16. </attribute>
  17. </XDtAnt:forAllAttributes>
  18. </attributes>
  19. <elements>
  20. <XDtAnt:forAllElements>
  21. <element name="<XDtAnt:elementName/>" type="<XDtAnt:elementType/>">
  22. <description>
  23. <![CDATA[<XDtMethod:methodComment no-comment-signs="true"/>]]>
  24. </description>
  25. <XDtClass:pushClass value="<XDtAnt:elementType/>">
  26. <XDtAnt:ifHasAttributes>
  27. <attributes>
  28. <XDtAnt:forAllAttributes>
  29. <attribute name="<XDtMethod:propertyName/>" type="<XDtParameter:forAllMethodParams><XDtParameter:methodParamType/></XDtParameter:forAllMethodParams>">
  30. <description><![CDATA[
  31. <XDtMethod:methodComment no-comment-signs="true"/>
  32. ]]></description>
  33. </attribute>
  34. </XDtAnt:forAllAttributes>
  35. </attributes>
  36. </XDtAnt:ifHasAttributes>
  37. </XDtClass:pushClass>
  38. </element>
  39. </XDtAnt:forAllElements>
  40. </elements>
  41. <!-- @todo: wrap setCurrentMethod inside AntTagsHandler -->
  42. <!-- @todo: create a XDtAnt:description wrapper for methodComment -->
  43. <XDtMethod:setCurrentMethod name="addText" parameters="java.lang.String">
  44. <body>
  45. <description><![CDATA[
  46. <XDtMethod:methodComment no-comment-signs="true"/>
  47. ]]></description>
  48. </body>
  49. </XDtMethod:setCurrentMethod>
  50. </structure>
  51. </task>