org.apache.camel.model.dataformat
Class XmlJsonDataFormat
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.model.DataFormatDefinition
org.apache.camel.model.dataformat.XmlJsonDataFormat
public class XmlJsonDataFormat
- extends DataFormatDefinition
Represents a XML-JSON DataFormat
.
- Version:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_HINTS
public static final String TYPE_HINTS
- See Also:
- Constant Field Values
REMOVE_NAMESPACE_PREFIXES
public static final String REMOVE_NAMESPACE_PREFIXES
- See Also:
- Constant Field Values
SKIP_NAMESPACES
public static final String SKIP_NAMESPACES
- See Also:
- Constant Field Values
TRIM_SPACES
public static final String TRIM_SPACES
- See Also:
- Constant Field Values
SKIP_WHITESPACE
public static final String SKIP_WHITESPACE
- See Also:
- Constant Field Values
EXPANDABLE_PROPERTIES
public static final String EXPANDABLE_PROPERTIES
- See Also:
- Constant Field Values
ARRAY_NAME
public static final String ARRAY_NAME
- See Also:
- Constant Field Values
ELEMENT_NAME
public static final String ELEMENT_NAME
- See Also:
- Constant Field Values
ROOT_NAME
public static final String ROOT_NAME
- See Also:
- Constant Field Values
NAMESPACE_LENIENT
public static final String NAMESPACE_LENIENT
- See Also:
- Constant Field Values
FORCE_TOP_LEVEL_OBJECT
public static final String FORCE_TOP_LEVEL_OBJECT
- See Also:
- Constant Field Values
ENCODING
public static final String ENCODING
- See Also:
- Constant Field Values
XmlJsonDataFormat
public XmlJsonDataFormat()
XmlJsonDataFormat
public XmlJsonDataFormat(Map<String,String> options)
configureDataFormat
protected void configureDataFormat(DataFormat dataFormat)
- Description copied from class:
DataFormatDefinition
- Allows derived classes to customize the data format
- Overrides:
configureDataFormat
in class DataFormatDefinition
getEncoding
public String getEncoding()
setEncoding
public void setEncoding(String encoding)
getElementName
public String getElementName()
setElementName
public void setElementName(String elementName)
getArrayName
public String getArrayName()
setArrayName
public void setArrayName(String arrayName)
getForceTopLevelObject
public Boolean getForceTopLevelObject()
setForceTopLevelObject
public void setForceTopLevelObject(Boolean forceTopLevelObject)
getNamespaceLenient
public Boolean getNamespaceLenient()
setNamespaceLenient
public void setNamespaceLenient(Boolean namespaceLenient)
getRootName
public String getRootName()
setRootName
public void setRootName(String rootName)
getSkipWhitespace
public Boolean getSkipWhitespace()
setSkipWhitespace
public void setSkipWhitespace(Boolean skipWhitespace)
getTrimSpaces
public Boolean getTrimSpaces()
setTrimSpaces
public void setTrimSpaces(Boolean trimSpaces)
getSkipNamespaces
public Boolean getSkipNamespaces()
setSkipNamespaces
public void setSkipNamespaces(Boolean skipNamespaces)
getRemoveNamespacePrefixes
public Boolean getRemoveNamespacePrefixes()
setRemoveNamespacePrefixes
public void setRemoveNamespacePrefixes(Boolean removeNamespacePrefixes)
getExpandableProperties
public List<String> getExpandableProperties()
setExpandableProperties
public void setExpandableProperties(List<String> expandableProperties)
getTypeHints
public String getTypeHints()
setTypeHints
public void setTypeHints(String typeHints)
Apache CAMEL