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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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="<XDtMethod:propertyName/>" type="<XDtParameter:forAllMethodParams><XDtParameter:methodParamType/></XDtParameter:forAllMethodParams>"
  15. <XDtMethod:ifHasMethodTag tagName="deprecated">deprecated="true"</XDtMethod:ifHasMethodTag>>
  16. <short-description><![CDATA[<XDtAnt:shortMethodDescription/>]]></short-description>
  17. <description><![CDATA[
  18. <XDtMethod:methodComment no-comment-signs="true"/>
  19. ]]></description>
  20. </attribute>
  21. </XDtAnt:forAllAttributes>
  22. </attributes>
  23. <elements>
  24. <XDtAnt:forAllElements>
  25. <element name="<XDtAnt:elementName/>" type="<XDtAnt:elementType/>"
  26. <XDtMethod:ifHasMethodTag tagName="deprecated">deprecated="true"</XDtMethod:ifHasMethodTag>
  27. <XDtClass:pushClass value="<XDtAnt:elementType/>">
  28. <XDtClass:ifIsClassAbstract>abstract="true"</XDtClass:ifIsClassAbstract>>
  29. </XDtClass:pushClass>
  30. <short-description><![CDATA[<XDtAnt:shortMethodDescription/>]]></short-description>
  31. <description>
  32. <![CDATA[<XDtMethod:methodComment no-comment-signs="true"/>]]>
  33. </description>
  34. </element>
  35. </XDtAnt:forAllElements>
  36. </elements>
  37. <!-- @todo: wrap setCurrentMethod inside AntTagsHandler -->
  38. <!-- @todo: create a XDtAnt:description wrapper for methodComment -->
  39. <XDtMethod:setCurrentMethod name="addText" parameters="java.lang.String">
  40. <body <XDtMethod:ifHasMethodTag tagName="deprecated">deprecated="true"</XDtMethod:ifHasMethodTag>>
  41. <description><![CDATA[
  42. <XDtMethod:methodComment no-comment-signs="true"/>
  43. ]]></description>
  44. </body>
  45. </XDtMethod:setCurrentMethod>
  46. </structure>
  47. </task>