buildframework/helium/doc/antdoclet/html/task.vm
author lorewang
Wed, 17 Nov 2010 16:16:57 +0800
changeset 693 9dfe674c217c
parent 587 85df38eb4012
permissions -rw-r--r--
update release info
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     3
##
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     4
## This is a Velocity template for generating an HTML
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     5
## document describing an Ant Task/Type 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     6
## 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     7
## Objects expected in context:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     8
##
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     9
##     $taskDoc - Describes an Ant Task/Type (of type AntDoc)
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    10
##
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    11
## 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    12
<html>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    13
<head>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    14
  <title>&lt;$taskDoc.getAntName()&gt;</title>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    15
  <link rel="stylesheet" type="text/css" href="style.css" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    16
</head>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    17
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    18
<body>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    19
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    20
    <h2><strong>&lt;$!taskDoc.getAntCategory() : $taskDoc.getAntName()&gt;</strong></h2>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    21
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    22
    <h3><strong>Description</strong></h3>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    23
	<div class="description">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    24
        $taskDoc.getComment()
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    25
	</div>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    26
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    27
    <h3><a name="attributes"><strong>Parameters</strong></a></h3>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    28
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    29
	    <table>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    30
			<tr>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    31
				<td valign="top" align="left"><b>Attribute</b></td>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    32
                <td valign="top" align="left"><b>Description</b></td>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    33
                <td valign="top" align="left"><b>Type</b></td>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    34
                <td valign="top" align="left"><b>Required?</b></td>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    35
			</tr>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    36
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    37
#foreach ($attr in $taskDoc.attributes )
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    38
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    39
			<tr>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    40
    		    <td valign="top" align="left">$attr</td>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    41
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    42
                <td valign="top" align="left">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    43
                     $taskDoc.getAttributeComment($attr)
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    44
                </td>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    45
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    46
                <td valign="top" align="left">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    47
                    $taskDoc.getAttributeType($attr)
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    48
                </td>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    49
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    50
                <td valign="top" align="left">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    51
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    52
  #if( $taskDoc.getAttributeRequired($attr) )
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    53
                       <b>Yes</b> $taskDoc.getAttributeRequired($attr)
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    54
  #elseif ( $taskDoc.getAttributeNotRequired($attr) )
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    55
                       <b>No</b> $taskDoc.getAttributeNotRequired($attr)
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    56
  #else ?
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    57
  #end
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    58
                </td>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    59
			</tr>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    60
#end
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    61
		</table>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    62
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    63
        <h3>Parameters accepted as nested elements</h3>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    64
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    65
		<div class="description">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    66
#if ($taskDoc.isTaskContainer())
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    67
			<p>This Task is a Container (it accepts nested Tasks).</p>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    68
#end
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    69
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    70
#if ($taskDoc.supportsCharacters())
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    71
			<p>This Task accepts text in its element body.</p>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    72
#end
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    73
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    74
#foreach ($element in $taskDoc.getNestedElements())
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    75
            
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    76
  #set($elementDoc = $taskDoc.getElementDoc($element))
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    77
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    78
    	    <h4>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    79
                ####
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    80
		#### Put a link for those types that are in this javadoc run
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    81
		#### and have nested elements (since nested-nested elements
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    82
		#### is the only info we are not showing for each nested element)
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    83
		####
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    84
  #if( $elementDoc.sourceIncluded() && ($elementDoc.getNestedElements().hasMoreElements() || $elementDoc.isTagged()))
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    85
		    <a href="${elementDoc.getFullClassName()}.html">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    86
                    <strong>&lt;$element&gt; ...</strong>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    87
		    </a>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    88
  #else
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    89
                    <strong>&lt;$element&gt;</strong>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    90
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    91
    #if ( ! $elementDoc.sourceIncluded() )
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    92
                    (Of type ${elementDoc.getAntName()} )
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    93
    #end
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    94
  #end
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    95
			</h4>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    96
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    97
  #if($elementDoc.getComment())
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    98
		    $elementDoc.getComment()
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    99
  #end
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   100
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   101
			<table border="0" cellspacing="2" cellpadding="2" width="100%">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   102
				<tr>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   103
	            	<td valign="top" align="left"><b>Attribute</b></td>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   104
	                <td valign="top" align="left"><b>Description</b></td>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   105
	                <td valign="top" align="left"><b>Type</b></td>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   106
	                <td valign="top" align="left"><b>Required</b></td>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   107
				</tr>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   108
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   109
  #foreach ($elementAttr in $elementDoc.getAttributes())
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   110
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   111
	            <tr>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   112
    	        	<td>$elementAttr</td>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   113
        	        <td>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   114
###                #if($elementDoc.getAttributeComment($elementAttr))
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   115
	                    <span>$!elementDoc.getAttributeComment($elementAttr)</span>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   116
###                #end
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   117
					</td>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   118
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   119
					<td>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   120
                      $elementDoc.getAttributeType($elementAttr)
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   121
					</td>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   122
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   123
					<td>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   124
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   125
    #if($elementDoc.getAttributeRequired($elementAttr))
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   126
                       <b>Yes</b> $elementDoc.getAttributeRequired($elementAttr)
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   127
    #elseif ( $elementDoc.getAttributeNotRequired($elementAttr) )
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   128
                       <b>No</b> $elementDoc.getAttributeNotRequired($elementAttr)
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   129
    #else ?
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   130
    #end
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   131
                    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   132
	                </td>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   133
				</tr>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   134
  #end
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   135
			</table>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   136
#end
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   137
		</div>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   138
    <br />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   139
	<hr />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   140
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   141
	<div class="copyright"><em>Generated with <a href="http://antdoclet.neuroning.com">AntDoclet</a></em></div>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   142
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   143
</body>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   144
</html>