Class Configuration
java.lang.Object
org.codehaus.jettison.mapped.Configuration
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Listprivate static final Configuration.ConverterFactoryprivate booleanprivate booleanprivate Listprivate booleanprivate booleanprivate static final Stringprivate Stringprivate Setprivate booleanprivate booleanprivate booleanprivate TypeConverterprivate booleanprivate Map -
Constructor Summary
ConstructorsConstructorDescriptionConfiguration(Map xmlToJsonNamespaces) Configuration(Map xmlToJsonNamespaces, List attributesAsElements, List ignoredElements) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanboolean(package private) static TypeConvertervoidsetAttributeKey(String attributeKey) voidsetAttributesAsElements(List attributesAsElements) voidsetDropRootElement(boolean dropRootElement) voidsetEscapeForwardSlashAlways(boolean escapeForwardSlash) voidsetIgnoredElements(List ignoredElements) voidsetIgnoreEmptyArrayValues(boolean ignoreEmptyArrayValues) voidsetIgnoreNamespaces(boolean ignoreNamespaces) voidsetJsonNamespaceSeparator(String jsonNamespaceSeparator) voidsetPrimitiveArrayKeys(Set primitiveArrayKeys) voidsetReadNullAsEmptyString(boolean read) Deprecated.voidsetReadNullAsString(boolean readNullString) voidsetRootElementArrayWrapper(boolean rootElementArrayWrapper) voidsetSupressAtAttributes(boolean supressAtAttributes) voidsetTypeConverter(TypeConverter typeConverter) voidsetWriteNullAsString(boolean writeNullAsString) voidsetXmlToJsonNamespaces(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
-