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