T - The type of elementpublic class JaxbLineAggregator<T> extends Object implements org.springframework.batch.item.file.transform.LineAggregator<T>, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
JaxbLineAggregator() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
String |
aggregate(T item) |
Class<?> |
getClassToBeBound()
Return the list of Java classes to be recognized by a newly created
JAXBContext.
|
String |
getEncoding()
Get the encoding of the file
|
javax.ws.rs.ext.MessageBodyWriter<T> |
getProvider() |
void |
setClassToBeBound(Class<?> classesToBeBound)
Set the list of Java classes to be recognized by a newly created
JAXBContext.
|
void |
setEncoding(String encoding)
Set the encoding of the file
|
void |
setOutputFormat(String ouputFormat) |
void |
setProvider(javax.ws.rs.ext.MessageBodyWriter<T> provider) |
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic String aggregate(T item)
aggregate in interface org.springframework.batch.item.file.transform.LineAggregator<T>public javax.ws.rs.ext.MessageBodyWriter<T> getProvider()
public void setProvider(javax.ws.rs.ext.MessageBodyWriter<T> provider)
public void setOutputFormat(String ouputFormat)
public void setClassToBeBound(Class<?> classesToBeBound)
classesToBeBound - the classes to boundpublic Class<?> getClassToBeBound()
public String getEncoding()
public void setEncoding(String encoding)
encoding - - The encoding of the file to setCopyright © 2016. All rights reserved.