|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.servicemix.components.util.TextStripConverter
public class TextStripConverter
Column converter for SimpleFlatFileMarshaler that strips off leading and trailing whitespaces from flat file columns
Constructor Summary | |
---|---|
TextStripConverter()
|
Method Summary | |
---|---|
java.lang.String |
convertToFlatFileContent(java.lang.String contents)
Converts the contents of a XML element to the contents of the flat file column |
java.lang.String |
convertToXml(java.lang.String contents)
Converts the contents of column to the contents of the XML element |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextStripConverter()
Method Detail |
---|
public java.lang.String convertToXml(java.lang.String contents)
ContentConverter
convertToXml
in interface ContentConverter
contents
- contents of the flat file column
public java.lang.String convertToFlatFileContent(java.lang.String contents)
ContentConverter
convertToFlatFileContent
in interface ContentConverter
contents
- contents of the XML element
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |