public class JSONPropertyWriter extends Object
Modifier and Type | Method and Description |
---|---|
protected static void |
writeBlobPropertyValue(org.codehaus.jackson.JsonGenerator jg,
Property prop,
String filesBaseUrl) |
protected static void |
writeListPropertyValue(org.codehaus.jackson.JsonGenerator jg,
Property prop,
DateTimeFormat dateTimeFormat,
String filesBaseUrl) |
protected static void |
writeMapPropertyValue(org.codehaus.jackson.JsonGenerator jg,
ComplexProperty prop,
DateTimeFormat dateTimeFormat,
String filesBaseUrl) |
static void |
writePropertyValue(org.codehaus.jackson.JsonGenerator jg,
Property prop,
DateTimeFormat dateTimeFormat,
String filesBaseUrl)
Converts the value of the given core property to JSON.
|
protected static void |
writeScalarPropertyValue(org.codehaus.jackson.JsonGenerator jg,
Property prop,
DateTimeFormat dateTimeFormat) |
public static void writePropertyValue(org.codehaus.jackson.JsonGenerator jg, Property prop, DateTimeFormat dateTimeFormat, String filesBaseUrl) throws PropertyException, org.codehaus.jackson.JsonGenerationException, IOException
PropertyException
org.codehaus.jackson.JsonGenerationException
IOException
protected static void writeScalarPropertyValue(org.codehaus.jackson.JsonGenerator jg, Property prop, DateTimeFormat dateTimeFormat) throws PropertyException, IOException
PropertyException
IOException
protected static void writeListPropertyValue(org.codehaus.jackson.JsonGenerator jg, Property prop, DateTimeFormat dateTimeFormat, String filesBaseUrl) throws PropertyException, org.codehaus.jackson.JsonGenerationException, IOException
PropertyException
org.codehaus.jackson.JsonGenerationException
IOException
protected static void writeMapPropertyValue(org.codehaus.jackson.JsonGenerator jg, ComplexProperty prop, DateTimeFormat dateTimeFormat, String filesBaseUrl) throws org.codehaus.jackson.JsonGenerationException, IOException, PropertyException
org.codehaus.jackson.JsonGenerationException
IOException
PropertyException
protected static void writeBlobPropertyValue(org.codehaus.jackson.JsonGenerator jg, Property prop, String filesBaseUrl) throws PropertyException, org.codehaus.jackson.JsonGenerationException, IOException
PropertyException
org.codehaus.jackson.JsonGenerationException
IOException
Copyright © 2015 Nuxeo SA. All rights reserved.