Class Configuration
java.lang.Object
org.codehaus.jettison.mapped.Configuration
-
Constructor Summary
ConstructorsConstructorDescriptionConfiguration(Map xmlToJsonNamespaces) Configuration(Map xmlToJsonNamespaces, List attributesAsElements, List ignoredElements) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetAttributeKey(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)
-
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
-
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
-