Class CadfAttachment.Writer

  • Enclosing class:
    CadfAttachment

    public static class CadfAttachment.Writer
    extends java.lang.Object
    Generates JSON from this object.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String generate​(CadfAttachment obj)  
      static void generate​(CadfAttachment obj, jakarta.json.stream.JsonGenerator generator)  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • generate

        public static java.lang.String generate​(CadfAttachment obj)
                                         throws java.io.IOException
        Parameters:
        obj -
        Returns:
        Throws:
        java.io.IOException
      • generate

        public static void generate​(CadfAttachment obj,
                                    jakarta.json.stream.JsonGenerator generator)
                             throws java.io.IOException
        Throws:
        java.io.IOException