Author: simonetripodi Date: Tue Jul 20 09:45:53 2010 New Revision: 965776 URL: http://svn.apache.org/viewvc?rev=965776&view=rev Log: added built-in annotation rules description
Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/package.html Modified: commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/package.html URL: http://svn.apache.org/viewvc/commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/package.html?rev=965776&r1=965775&r2=965776&view=diff ============================================================================== --- commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/package.html (original) +++ commons/sandbox/at-digester/trunk/src/java/org/apache/commons/digester/annotations/package.html Tue Jul 20 09:45:53 2010 @@ -217,6 +217,104 @@ public @interface ObjectCreate { <a name="doc.BuiltinRules"></a> <h3>Built-in Rules</h3> - <p></p> + <p>All built-in annotation rules are in the package + <code>org.apache.commons.digester.annotations.rules</code>. + Here is the list of annotations and their usage.</p> + + <h4><code>TYPE</code> annotations</h4> + <table> + <thead> + <tr> + <th>Annotation</th> + <th>Reflect rule</th> + </tr> + </thead> + <tbody> + <tr> + <td>@ObjectCreate</td> + <td>org.apache.commons.digester.ObjectCreateRule</td> + </tr> + <tr> + <td>@FactoryCreate</td> + <td>org.apache.commons.digester.FactoryCreateRule</td> + </tr> + </tbody> + </table> + + <h4><code>FIELD</code> annotations</h4> + <table> + <thead> + <tr> + <th>Annotation</th> + <th>Reflect rule</th> + </tr> + </thead> + <tbody> + <tr> + <td>@BeanPropertySetter</td> + <td>org.apache.commons.digester.BeanPropertySetterRule</td> + </tr> + <tr> + <td>@SetProperty</td> + <td>org.apache.commons.digester.SetPropertiesRule</td> + </tr> + </tbody> + </table> + + <h4><code>METHOD</code> annotations</h4> + <table> + <thead> + <tr> + <th>Annotation</th> + <th>Reflect rule</th> + </tr> + </thead> + <tbody> + <tr> + <td>@CallMethod</td> + <td>org.apache.commons.digester.CallMethodRule</td> + </tr> + <tr> + <td>@SetNext</td> + <td>org.apache.commons.digester.SetNextRule</td> + </tr> + <tr> + <td>@SetRoot</td> + <td>org.apache.commons.digester.SetRootRule</td> + </tr> + <tr> + <td>@SetTop</td> + <td>org.apache.commons.digester.SetTopRule</td> + </tr> + </tbody> + </table> + + <h4><code>PARAMETER</code> annotations</h4> + <table> + <thead> + <tr> + <th>Annotation</th> + <th>Reflect rule</th> + </tr> + </thead> + <tbody> + <tr> + <td>@AttributeCallParam</td> + <td>org.apache.commons.digester.Digester#addCallParam(String, int, String)</td> + </tr> + <tr> + <td>@CallParam</td> + <td>org.apache.commons.digester.Digester#addCallParam(String, int)</td> + </tr> + <tr> + <td>@PathCallParam</td> + <td>org.apache.commons.digester.Digester#addCallParamPath(String, int)</td> + </tr> + <tr> + <td>@StackCallParam</td> + <td>org.apache.commons.digester.Digester#addCallParam(String, int, int)</td> + </tr> + </tbody> + </table> </body> </html>