org.apache.camel.model.dataformat
Class JsonDataFormat
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.model.DataFormatDefinition
org.apache.camel.model.dataformat.JsonDataFormat
public class JsonDataFormat
- extends DataFormatDefinition
Represents the Json DataFormat
- Version:
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonDataFormat
public JsonDataFormat()
JsonDataFormat
public JsonDataFormat(JsonLibrary library)
getPrettyPrint
public Boolean getPrettyPrint()
setPrettyPrint
public void setPrettyPrint(Boolean prettyPrint)
getUnmarshalTypeName
public String getUnmarshalTypeName()
setUnmarshalTypeName
public void setUnmarshalTypeName(String unmarshalTypeName)
getUnmarshalType
public Class<?> getUnmarshalType()
setUnmarshalType
public void setUnmarshalType(Class<?> unmarshalType)
getLibrary
public JsonLibrary getLibrary()
setLibrary
public void setLibrary(JsonLibrary library)
getJsonView
public Class<?> getJsonView()
setJsonView
public void setJsonView(Class<?> jsonView)
getInclude
public String getInclude()
setInclude
public void setInclude(String include)
getAllowJmsType
public Boolean getAllowJmsType()
setAllowJmsType
public void setAllowJmsType(Boolean allowJmsType)
getCollectionTypeName
public String getCollectionTypeName()
setCollectionTypeName
public void setCollectionTypeName(String collectionTypeName)
getUseList
public Boolean getUseList()
setUseList
public void setUseList(Boolean useList)
createDataFormat
protected DataFormat createDataFormat(RouteContext routeContext)
- Description copied from class:
DataFormatDefinition
- Factory method to create the data format instance
- Overrides:
createDataFormat in class DataFormatDefinition
configureDataFormat
protected void configureDataFormat(DataFormat dataFormat,
CamelContext camelContext)
- Description copied from class:
DataFormatDefinition
- Allows derived classes to customize the data format
- Overrides:
configureDataFormat in class DataFormatDefinition
Apache Camel