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.6 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. <XDtClass:ifHasClassTag tagName="deprecated">deprecated="true"</XDtClass:ifHasClassTag>
  5. <XDtType:ifIsOfType type="org.apache.tools.ant.taskdefs.MatchingTask">matchingTask="true"</XDtType:ifIsOfType>>
  6. <XDtMerge:merge file="{0}.xml" generateMergedFile="false"></XDtMerge:merge>
  7. <short-description><![CDATA[<XDtClass:firstSentenceDescription/>]]></short-description>
  8. <long-description>
  9. <![CDATA[<XDtClass:classComment no-comment-signs="true"/>]]>
  10. </long-description>
  11. <structure>
  12. <attributes>
  13. <XDtAnt:forAllAttributes>
  14. <attribute name="<XDtAnt:propertyName/>" type="<XDtParameter:forAllMethodParams><XDtParameter:methodParamType/></XDtParameter:forAllMethodParams>"
  15. <XDtMethod:ifHasMethodTag tagName="deprecated">deprecated="true"</XDtMethod:ifHasMethodTag>
  16. briefType="<XDtAnt:displayAttributeType/>">
  17. <short-description><![CDATA[<XDtAnt:shortMethodDescription/>]]></short-description>
  18. <description><![CDATA[
  19. <XDtMethod:methodComment no-comment-signs="true"/>
  20. ]]></description>
  21. </attribute>
  22. </XDtAnt:forAllAttributes>
  23. </attributes>
  24. <elements>
  25. <XDtAnt:forAllElements>
  26. <element name="<XDtAnt:elementName/>" type="<XDtAnt:elementType/>"
  27. <XDtMethod:ifHasMethodTag tagName="deprecated">deprecated="true"</XDtMethod:ifHasMethodTag>
  28. briefType="<XDtAnt:displayElementType/>"
  29. <XDtClass:pushClass value="<XDtAnt:elementType/>">
  30. <XDtClass:ifIsClassAbstract>abstract="true"</XDtClass:ifIsClassAbstract>>
  31. </XDtClass:pushClass>
  32. <short-description><![CDATA[<XDtAnt:shortMethodDescription/>]]></short-description>
  33. <description>
  34. <![CDATA[<XDtMethod:methodComment no-comment-signs="true"/>]]>
  35. </description>
  36. </element>
  37. </XDtAnt:forAllElements>
  38. </elements>
  39. <!-- @todo: wrap setCurrentMethod inside AntTagsHandler -->
  40. <!-- @todo: create a XDtAnt:description wrapper for methodComment -->
  41. <XDtMethod:setCurrentMethod name="addText" parameters="java.lang.String">
  42. <body <XDtMethod:ifHasMethodTag tagName="deprecated">deprecated="true"</XDtMethod:ifHasMethodTag>>
  43. <description><![CDATA[
  44. <XDtMethod:methodComment no-comment-signs="true"/>
  45. ]]></description>
  46. </body>
  47. </XDtMethod:setCurrentMethod>
  48. </structure>
  49. </task>