org.apache.servicemix.components.util
Class XmlEscapingConverter

java.lang.Object
  extended by org.apache.servicemix.components.util.XmlEscapingConverter
All Implemented Interfaces:
ContentConverter

public class XmlEscapingConverter
extends java.lang.Object
implements ContentConverter

Author:
Andrew Skiba

Constructor Summary
XmlEscapingConverter()
           
 
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

XmlEscapingConverter

public XmlEscapingConverter()
Method Detail

convertToXml

public java.lang.String convertToXml(java.lang.String contents)
Description copied from interface: ContentConverter
Converts the contents of column to the contents of the XML element

Specified by:
convertToXml in interface ContentConverter
Parameters:
contents - contents of the flat file column
Returns:
contents for the XML element

convertToFlatFileContent

public java.lang.String convertToFlatFileContent(java.lang.String contents)
Description copied from interface: ContentConverter
Converts the contents of a XML element to the contents of the flat file column

Specified by:
convertToFlatFileContent in interface ContentConverter
Parameters:
contents - contents of the XML element
Returns:
contents for the flat file


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