From efe07a3096faf241a8f343d26f7105b9ce3e0d60 Mon Sep 17 00:00:00 2001 From: wxlund Date: Thu, 6 Mar 2008 07:41:39 +0000 Subject: [PATCH] Went through ItemWriters this evening and in the process added the catalog of ItemWriters to the appendix. I also opened a minor jira issue for questions I had on a few points I found. --- docs/src/site/docbook/reference/appendix.xml | 103 +++++++++++++++++++ 1 file changed, 103 insertions(+) diff --git a/docs/src/site/docbook/reference/appendix.xml b/docs/src/site/docbook/reference/appendix.xml index 6acdef9ce..c93397b1a 100644 --- a/docs/src/site/docbook/reference/appendix.xml +++ b/docs/src/site/docbook/reference/appendix.xml @@ -6,6 +6,7 @@
Item Readers + Available Item Readers @@ -138,4 +139,106 @@
+ +
+ Item Writers + + + Available Item Writers + + + + + + + Item Writer + + Type of Item Written + + Description + + + + + + CompositeItemWriter + + java.lang.Object + + Passes an item to the process method of each + in an injected List of ItemWriter objects + + + + DelegatingItemWriter + + java.lang.Object + + Wraps ItemWriter and is BeanAware allowing it + to respond to Spring Bean events like + afterPropertiesSet(). + + + + PropertyExtractingDelegatingItemWriter + + java.lang.Object + + Extends AbstractMethodInvokingDelegator + creating arguments on the fly. Arguments are created by retrieving + the values from the fields in the item to be processed (via a + SpringBeanWrapper) based on an injected array of field + name + + + + ItemTransformerItemWriter + + java.lang.Object + + Extends ItemWriterItemWriter by defining its + doProcess method to call an + injected ItemTransformer + + + + FlatFileItemWriter + + java.lang.Object + + Attempts to convert the item to a String, Collection or array using an injected + Coverter and then recurses. See + [HOWTO - Write to a File] + + + + HibernateAwareItemWriter + + java.lang.Object + + This item writer is hibernate session aware + and handles some transaction-related work that a non-"hibernate + aware" item writer would not need to know about and then delegates + to another item writer to do the actual writing. See [HOWTO - + Write to a Database] + + + + StaxEventWriterItemWriter + + java.lang.Object + + Uses an ObjectToXmlSerializer implementation to + convert each item to XML and then writes it to an XML file using + StAX. See [HOWTO - Write to a File] + + + +
+