Class XmlContentConverter

  • All Implemented Interfaces:
    ContentConverter

    public class XmlContentConverter
    extends Object
    implements ContentConverter
    An implementation of a ContentConverter which will escape xml special characters from the line.
    Since:
    12.0.0
    • Constructor Detail

      • XmlContentConverter

        public XmlContentConverter()
    • Method Detail

      • convert

        public String convert​(String line)
        Escapes xml special characters.
        Specified by:
        convert in interface ContentConverter
        Parameters:
        line - The line to convert.
        Returns:
        The converted line.