Package org.codehaus.jettison.mapped
Class Configuration
java.lang.Object
org.codehaus.jettison.mapped.Configuration
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private List
private static final Configuration.ConverterFactory
private boolean
private boolean
private List
private boolean
private boolean
private static final String
private String
private Set
private boolean
private boolean
private boolean
private TypeConverter
private boolean
private Map
-
Constructor Summary
ConstructorsConstructorDescriptionConfiguration
(Map xmlToJsonNamespaces) Configuration
(Map xmlToJsonNamespaces, List attributesAsElements, List ignoredElements) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
(package private) static TypeConverter
void
setAttributeKey
(String attributeKey) void
setAttributesAsElements
(List attributesAsElements) void
setDropRootElement
(boolean dropRootElement) void
setEscapeForwardSlashAlways
(boolean escapeForwardSlash) void
setIgnoredElements
(List ignoredElements) void
setIgnoreEmptyArrayValues
(boolean ignoreEmptyArrayValues) void
setIgnoreNamespaces
(boolean ignoreNamespaces) void
setJsonNamespaceSeparator
(String jsonNamespaceSeparator) void
setPrimitiveArrayKeys
(Set primitiveArrayKeys) void
setReadNullAsEmptyString
(boolean read) Deprecated.void
setReadNullAsString
(boolean readNullString) void
setRootElementArrayWrapper
(boolean rootElementArrayWrapper) void
setSupressAtAttributes
(boolean supressAtAttributes) void
setTypeConverter
(TypeConverter typeConverter) void
setWriteNullAsString
(boolean writeNullAsString) void
setXmlToJsonNamespaces
(Map xmlToJsonNamespaces)
-
Field Details
-
JETTISON_TYPE_CONVERTER_CLASS_KEY
- See Also:
-
converterFactory
-
xmlToJsonNamespaces
-
attributesAsElements
-
ignoredElements
-
supressAtAttributes
private boolean supressAtAttributes -
attributeKey
-
ignoreNamespaces
private boolean ignoreNamespaces -
dropRootElement
private boolean dropRootElement -
rootElementArrayWrapper
private boolean rootElementArrayWrapper -
primitiveArrayKeys
-
writeNullAsString
private boolean writeNullAsString -
readNullAsString
private boolean readNullAsString -
ignoreEmptyArrayValues
private boolean ignoreEmptyArrayValues -
escapeForwardSlashAlways
private boolean escapeForwardSlashAlways -
jsonNamespaceSeparator
-
typeConverter
-
-
Constructor Details
-
Configuration
public Configuration() -
Configuration
-
Configuration
-
-
Method Details
-
isIgnoreNamespaces
public boolean isIgnoreNamespaces() -
setIgnoreNamespaces
public void setIgnoreNamespaces(boolean ignoreNamespaces) -
getAttributesAsElements
-
setAttributesAsElements
-
getIgnoredElements
-
setIgnoredElements
-
getXmlToJsonNamespaces
-
setXmlToJsonNamespaces
-
getTypeConverter
-
setTypeConverter
-
isSupressAtAttributes
public boolean isSupressAtAttributes() -
setSupressAtAttributes
public void setSupressAtAttributes(boolean supressAtAttributes) -
getAttributeKey
-
setAttributeKey
-
newDefaultConverterInstance
-
getPrimitiveArrayKeys
-
setPrimitiveArrayKeys
-
isDropRootElement
public boolean isDropRootElement() -
setDropRootElement
public void setDropRootElement(boolean dropRootElement) -
isRootElementArrayWrapper
public boolean isRootElementArrayWrapper() -
setRootElementArrayWrapper
public void setRootElementArrayWrapper(boolean rootElementArrayWrapper) -
isWriteNullAsString
public boolean isWriteNullAsString() -
setWriteNullAsString
public void setWriteNullAsString(boolean writeNullAsString) -
isReadNullAsString
public boolean isReadNullAsString() -
setReadNullAsString
public void setReadNullAsString(boolean readNullString) -
isIgnoreEmptyArrayValues
public boolean isIgnoreEmptyArrayValues() -
setIgnoreEmptyArrayValues
public void setIgnoreEmptyArrayValues(boolean ignoreEmptyArrayValues) -
setReadNullAsEmptyString
Deprecated. -
isEscapeForwardSlashAlways
public boolean isEscapeForwardSlashAlways() -
setEscapeForwardSlashAlways
public void setEscapeForwardSlashAlways(boolean escapeForwardSlash) -
getJsonNamespaceSeparator
-
setJsonNamespaceSeparator
-