code: public static PhaseAction submitTo(final Submission to, final Retrieval from)
     {
        return new PhaseAction(to, from) {
  
           @Override
           public String toString()
           {
              return "PhaseAction.submitTo(" + to + ", " + from + ")";
           }
  
        }.after(PhaseId.RESTORE_VIEW);
     }
docs: Create an {@link Operation} that invokes
  {@link Submission#submit(org.ocpsoft.rewrite.event.Rewrite, EvaluationContext, Object)}, and uses the result of
  the given {@link Retrieval#retrieve(org.ocpsoft.rewrite.event.Rewrite, EvaluationContext)} as the value for this
  submission. Process {@link InvocationResultHandler} instances on the result value (if any).
  <p>
  By default, this action is invoked after {@link PhaseId#RESTORE_VIEW}