<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util"
	xsi:schemaLocation="http://www.springframework.org/schema/beans
       	http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
       	http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd">

	<util:map id="outputDescriptors">
		<entry key="header" value-ref="outputHeader" />
		<entry key="footer" value-ref="outputFooter" />
		<entry key="customer" value-ref="outputCustomer" />
		<entry key="address" value-ref="outputAddress" />
		<entry key="billing" value-ref="outputBilling" />
		<entry key="item" value-ref="outputLineItem" />
	</util:map>

	<bean id="outputHeader" class="org.springframework.batch.item.file.transform.FixedLengthLineAggregator"
				p:columns="1-12,13-22,23-52" />

	<bean id="outputFooter"
		class="org.springframework.batch.item.file.transform.FixedLengthLineAggregator"
				p:columns="1-10,11-30" />

	<bean id="outputCustomer" class="org.springframework.batch.item.file.transform.FixedLengthLineAggregator"
				p:columns="1-9,10-19,20-29,30-39,40-49" />

	<bean id="outputAddress"
		class="org.springframework.batch.item.file.transform.FixedLengthLineAggregator"
				p:columns="1-8,9-28,29-38,39-48" />

	<bean id="outputBilling"
		class="org.springframework.batch.item.file.transform.FixedLengthLineAggregator"
				p:columns="1-8,9-18,19-38" />

	<bean id="outputLineItem"
		class="org.springframework.batch.item.file.transform.FixedLengthLineAggregator"
				p:columns="1-5,6-15,16-25" />

</beans>