Class StringConverter

java.lang.Object
io.minio.messages.StringConverter
All Implemented Interfaces:
org.simpleframework.xml.convert.Converter<String>

public class StringConverter extends Object implements org.simpleframework.xml.convert.Converter<String>
XML converter for string due to SimpleXML limitation in converting empty element like to empty string.
  • Constructor Details

    • StringConverter

      public StringConverter()
  • Method Details

    • read

      public String read(org.simpleframework.xml.stream.InputNode node) throws Exception
      Specified by:
      read in interface org.simpleframework.xml.convert.Converter<String>
      Throws:
      Exception
    • write

      public void write(org.simpleframework.xml.stream.OutputNode node, String value) throws Exception
      Specified by:
      write in interface org.simpleframework.xml.convert.Converter<String>
      Throws:
      Exception