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.

index.xml 2.5 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version="1.0"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <document>
  17. <properties>
  18. <index value="1"/>
  19. <title>Props Antlib</title>
  20. </properties>
  21. <body>
  22. <section name="Props Antlib">
  23. <p>This is a library of supplementary handlers for Ant
  24. properties resolution.</p>
  25. <p>The types provided are instances of
  26. <code>org.apache.tools.ant.PropertyHelper.Delegate</code> and
  27. can be invoked using the <code>&lt;propertyhelper&gt;</code>
  28. task provided in Ant 1.8.0.</p>
  29. <table border="1" cellspacing="0" cellpadding="2" width="100%">
  30. <tr>
  31. <th>Delegate</th>
  32. <th>Delegate Type</th>
  33. <th>Description</th>
  34. </tr>
  35. <tr>
  36. <td align="center">nested</td>
  37. <td align="center">PropertyExpander</td>
  38. <td>Implements nested property expansion;
  39. e.g. <code>${${double-expand-me}}</code>.</td>
  40. </tr>
  41. <tr>
  42. <td align="center">stringops</td>
  43. <td align="center">PropertyEvaluator</td>
  44. <td>Implements *nix shell-inspired string operations.</td>
  45. </tr>
  46. <tr>
  47. <td align="center">refs</td>
  48. <td align="center">PropertyEvaluator</td>
  49. <td>Given <code>ref:<em>refid</em></code>,
  50. resolves reference <code><em>refid</em></code>.</td>
  51. </tr>
  52. <tr>
  53. <td align="center">types</td>
  54. <td align="center">PropertyEvaluator</td>
  55. <td>Given <code><em>type</em>(<em>arg</em>)</code>, attempts
  56. to invoke
  57. <code><em>type</em></code> constructor <code>(<em>project, arg</em>)</code>,
  58. then <code>(<em>arg</em>)</code>.</td>
  59. </tr>
  60. </table>
  61. </section>
  62. </body>
  63. </document>