db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1574677 - /db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/codegen-reference/concepts.xml
Date Wed, 05 Mar 2014 21:39:56 GMT
Author: tfischer
Date: Wed Mar  5 21:39:56 2014
New Revision: 1574677

URL: http://svn.apache.org/r1574677
Log:
TORQUE-310 document postprocessors

Modified:
    db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/codegen-reference/concepts.xml

Modified: db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/codegen-reference/concepts.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/codegen-reference/concepts.xml?rev=1574677&r1=1574676&r2=1574677&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/codegen-reference/concepts.xml
(original)
+++ db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/codegen-reference/concepts.xml
Wed Mar  5 21:39:56 2014
@@ -42,6 +42,9 @@
         <a href="#SkipDeciders">SkipDeciders</a>
       </li>
       <li>
+        <a href="#Postprocessors">Postprocessors</a>
+      </li>
+      <li>
         <a href="#Controller">Controller</a>
       </li>
       <li>
@@ -242,7 +245,21 @@
       the generation of certain files is skipped. E.g. a SkipDecider
       could read an option value and skip the generation of a file
       if the option is not set. SkipDeciders are java classes which
-      implement the SkipDecider interface.
+      implement the 
+      org.apache.torque.generator.source.skipDecider.SkipDecider interface.
+    </p>
+  </section>
+  
+  <section name="Postprocessors">
+    <p>
+      Postprocessors process the generated content after generation.
+      I.e. they do not know the source model any more, they just operate
+      on the generated text. Postprocessors are java classes which implement
+      the org.apache.torque.generator.processor.string.StringProcessor
+      interface. They are useful for e.g. fixing the line end mode of files
+      (org.apache.torque.generator.processor.string.UnixLinefeedProcessor)
+      or for removing unused imports in java class files
+      (org.apache.torque.generator.processor.string.OrganizeImportsProcessor).
     </p>
   </section>
   



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message