|
|
@@ -80,20 +80,41 @@ |
|
|
|
<td valign="top" align="center">No; default is "equal"</td> |
|
|
|
</tr> |
|
|
|
</table> |
|
|
|
|
|
|
|
<h3>Parameters specified as nested elements</h3> |
|
|
|
|
|
|
|
<h4>Resource Collections</h4> |
|
|
|
<p>You can include resources via nested |
|
|
|
<a href="../CoreTypes/resources.html#collection">Resource Collection</a>s.</p> |
|
|
|
|
|
|
|
<h3>Examples</h3> |
|
|
|
|
|
|
|
<pre><length string="foo" property="length.foo" /> |
|
|
|
</pre> |
|
|
|
<p>Stores the length of the string "foo" in the property named |
|
|
|
<i>length.foo</i>.</p> |
|
|
|
|
|
|
|
<pre><length file="bar" property="length.bar" /> |
|
|
|
</pre> |
|
|
|
<p>Stores the length of file "bar" in the property named |
|
|
|
<i>length.bar</i>.</p> |
|
|
|
|
|
|
|
<pre> |
|
|
|
<length property="length" mode="each"> |
|
|
|
<fileset dir="." includes="foo,bar"/> |
|
|
|
</length> |
|
|
|
</pre> |
|
|
|
<p>Writes the file paths of <i>foo</i> and <i>bar</i> and their length into |
|
|
|
the property <i>length</i>.</p> |
|
|
|
|
|
|
|
<pre> |
|
|
|
<length property="length" mode="all"> |
|
|
|
<fileset dir="." includes="foo,bar"/> |
|
|
|
</length> |
|
|
|
</pre> |
|
|
|
<p>Adds the length of <i>foo</i> and <i>bar</i> and stores the result in property <i>length</i>.</p> |
|
|
|
|
|
|
|
|
|
|
|
</body> |
|
|
|
</html> |
|
|
|
|