Package com.ibm.fhir.audit.cadf.model
Class CadfAttachment.Writer
- java.lang.Object
-
- com.ibm.fhir.audit.cadf.model.CadfAttachment.Writer
-
- Enclosing class:
- CadfAttachment
public static class CadfAttachment.Writer extends Object
Generates JSON from this object.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
generate(CadfAttachment obj)
static void
generate(CadfAttachment obj, javax.json.stream.JsonGenerator generator)
-
-
-
Method Detail
-
generate
public static String generate(CadfAttachment obj) throws IOException
- Parameters:
obj
-- Returns:
- Throws:
IOException
-
generate
public static void generate(CadfAttachment obj, javax.json.stream.JsonGenerator generator) throws IOException
- Throws:
IOException
-
-