Commits

tmjee  committed 261c394

alter javadoc / snippets

Issue number:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@1034e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits b6dd8ca

Comments (0)

Files changed (2)

File src/java/com/opensymphony/xwork/interceptor/PrefixMethodInvocationUtil.java

  * 
  * <!-- START SNIPPET: javadocDefaultWorkflowInterceptor -->
  * 
- * <b>A] In DefaultWorkflowInterceptor</b>
+ * <b>In DefaultWorkflowInterceptor</b>
  * <p>applies only when action implements {@link com.opensymphony.xwork.Validateable}</p>
  * <ol>
  *    <li>if the action class have validate{MethodName}(), it will be invoked</li>
  * 
  * <!-- START SNIPPET: javadocPrepareInterceptor -->
  * 
- * <b>B] In PrepareInterceptor</b>
- * <p>applies only when action implements Preparable</p>
+ * <b>In PrepareInterceptor</b>
+ * <p>Applies only when action implements Preparable</p>
  * <ol>
  *    <li>if the action class have prepare{MethodName}(), it will be invoked</li>
  *    <li>else if the action class have prepareDo(MethodName()}(), it will be invoked</li>

File src/java/com/opensymphony/xwork/interceptor/PrepareInterceptor.java

  * {@link Preparable}. This interceptor is very useful for any situation where
  * you need to ensure some logic runs before the actual execute method runs.
  * 
- * <p/><b>Update</b>: Added logic to execute a prepare{MethodName} rather than a 
- * general prepare Method. This allows us to run some logic based on the method 
- * name we specify in the {@link ActionProxy}. For example, you can specify a 
- * prepareInput() method, or even a prepareDoInput() method that will be run 
- * before the invocation of the input method.
- * 
  * <p/> A typical use of this is to run some logic to load an object from the
  * database so that when parameters are set they can be set on this object. For
  * example, suppose you have a User object with two properties: <i>id</i> and
  * the id property, and then when the second params interceptor is called the
  * parameter <i>user.name</i> will be set, as desired, on the actual object
  * loaded from the database. See the example for more info.
+ * 
+ * <p/><b>Update</b>: Added logic to execute a prepare{MethodName} rather than a 
+ * general prepare Method. This allows us to run some logic based on the method 
+ * name we specify in the {@link ActionProxy}. For example, you can specify a 
+ * prepareInput() method, or even a prepareDoInput() method that will be run 
+ * before the invocation of the input method.
  *
  * <!-- END SNIPPET: description -->
  *