xref: /aosp_15_r20/external/stardoc/stardoc/templates/html_tables/aspect.vm (revision b2fa42943c124aa9c7163734493fc7a7559681cf)
1<a id="${aspectName}"></a>
2
3#[[##]]# ${aspectName}
4
5<pre>
6${util.aspectSummary($aspectName, $aspectInfo)}
7</pre>
8
9$aspectInfo.getDocString()
10
11#[[###]]# Aspect Attributes
12
13#if (!$aspectInfo.getAspectAttributeList().isEmpty())
14<table class="params-table">
15<colgroup>
16<col class="col-param" />
17<col class="col-description" />
18</colgroup>
19<tbody>
20#foreach ($aspectAttribute in $aspectInfo.getAspectAttributeList())
21<tr id="${aspectName}-${aspectAttribute}">
22<td><code>${aspectAttribute}</code></td>
23<td>
24String; required.
25</td>
26</tr>
27#end
28</tbody>
29</table>
30#end
31
32#[[###]]# Attributes
33
34#if (!$aspectInfo.getAttributeList().isEmpty())
35<table class="params-table">
36<colgroup>
37<col class="col-param" />
38<col class="col-description" />
39</colgroup>
40<tbody>
41#foreach ($attribute in $aspectInfo.getAttributeList())
42<tr id="${aspectName}-${attribute.name}">
43<td><code>${attribute.name}</code></td>
44<td>
45
46${util.attributeTypeString($attribute)}; ${util.mandatoryString($attribute)}
47
48#if (!$attribute.docString.isEmpty())
49<p>
50
51${attribute.docString.trim()}
52
53</p>
54#end
55</td>
56</tr>
57#end
58</tbody>
59</table>
60#end
61