org.apache.servicemix.components.util
Interface ContentConverter

All Known Implementing Classes:
DateConverter, NoConversion, NumberConverter, TextStripConverter, XmlEscapingConverter

public interface ContentConverter

Interface for the conversion of columns content to XML and vice versa used by the SimpleFlatFileMarshaler

Since:
3.2
Author:
Mayrbaeurl

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
 

Method Detail

convertToXml

java.lang.String convertToXml(java.lang.String contents)
Converts the contents of column to the contents of the XML element

Parameters:
contents - contents of the flat file column
Returns:
contents for the XML element

convertToFlatFileContent

java.lang.String convertToFlatFileContent(java.lang.String contents)
Converts the contents of a XML element to the contents of the flat file column

Parameters:
contents - contents of the XML element
Returns:
contents for the flat file


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.