public class JsonWriter extends Object
Constructor and Description |
---|
JsonWriter() |
Modifier and Type | Method and Description |
---|---|
static String |
exportOperations()
Used to export operations to studio
|
static void |
writeAutomationInfo(org.codehaus.jackson.JsonGenerator jg,
AutomationInfo info,
boolean prettyPrint) |
static void |
writeAutomationInfo(OutputStream out,
AutomationInfo info,
boolean prettyPrint) |
static void |
writeException(org.codehaus.jackson.JsonGenerator jg,
ExceptionHandler eh) |
static void |
writeException(OutputStream out,
ExceptionHandler eh) |
static void |
writeLogin(org.codehaus.jackson.JsonGenerator jg,
LoginInfo login) |
static void |
writeLogin(OutputStream out,
LoginInfo login) |
static void |
writeOperation(org.codehaus.jackson.JsonGenerator jg,
OperationDocumentation op) |
static void |
writeOperation(org.codehaus.jackson.JsonGenerator jg,
OperationDocumentation op,
String url) |
static void |
writeOperation(OutputStream out,
OperationDocumentation op) |
static void |
writePrimitive(org.codehaus.jackson.JsonGenerator jg,
Object value) |
static void |
writePrimitive(OutputStream out,
Object value) |
public static void writeAutomationInfo(OutputStream out, AutomationInfo info, boolean prettyPrint) throws IOException
IOException
public static void writeAutomationInfo(org.codehaus.jackson.JsonGenerator jg, AutomationInfo info, boolean prettyPrint) throws IOException
IOException
public static String exportOperations() throws IOException, OperationException
IOException
OperationException
public static void writeOperation(OutputStream out, OperationDocumentation op) throws IOException
IOException
public static void writeOperation(org.codehaus.jackson.JsonGenerator jg, OperationDocumentation op) throws IOException
IOException
public static void writeOperation(org.codehaus.jackson.JsonGenerator jg, OperationDocumentation op, String url) throws IOException
IOException
public static void writeLogin(OutputStream out, LoginInfo login) throws IOException
IOException
public static void writeLogin(org.codehaus.jackson.JsonGenerator jg, LoginInfo login) throws IOException
IOException
public static void writePrimitive(OutputStream out, Object value) throws IOException
IOException
public static void writePrimitive(org.codehaus.jackson.JsonGenerator jg, Object value) throws IOException
IOException
public static void writeException(OutputStream out, ExceptionHandler eh) throws IOException
IOException
public static void writeException(org.codehaus.jackson.JsonGenerator jg, ExceptionHandler eh) throws IOException
IOException
Copyright © 2013 Nuxeo SA. All Rights Reserved.