Class Configuration

java.lang.Object
org.codehaus.jettison.mapped.Configuration

public class Configuration extends Object
  • Field Details

    • JETTISON_TYPE_CONVERTER_CLASS_KEY

      private static final String JETTISON_TYPE_CONVERTER_CLASS_KEY
      See Also:
    • converterFactory

      private static final Configuration.ConverterFactory converterFactory
    • xmlToJsonNamespaces

      private Map xmlToJsonNamespaces
    • attributesAsElements

      private List attributesAsElements
    • ignoredElements

      private List ignoredElements
    • supressAtAttributes

      private boolean supressAtAttributes
    • attributeKey

      private String attributeKey
    • ignoreNamespaces

      private boolean ignoreNamespaces
    • dropRootElement

      private boolean dropRootElement
    • rootElementArrayWrapper

      private boolean rootElementArrayWrapper
    • primitiveArrayKeys

      private Set primitiveArrayKeys
    • writeNullAsString

      private boolean writeNullAsString
    • readNullAsString

      private boolean readNullAsString
    • ignoreEmptyArrayValues

      private boolean ignoreEmptyArrayValues
    • escapeForwardSlashAlways

      private boolean escapeForwardSlashAlways
    • jsonNamespaceSeparator

      private String jsonNamespaceSeparator
    • typeConverter

      private TypeConverter typeConverter
  • Constructor Details

    • Configuration

      public Configuration()
    • Configuration

      public Configuration(Map xmlToJsonNamespaces)
    • Configuration

      public Configuration(Map xmlToJsonNamespaces, List attributesAsElements, List ignoredElements)
  • Method Details

    • isIgnoreNamespaces

      public boolean isIgnoreNamespaces()
    • setIgnoreNamespaces

      public void setIgnoreNamespaces(boolean ignoreNamespaces)
    • getAttributesAsElements

      public List getAttributesAsElements()
    • setAttributesAsElements

      public void setAttributesAsElements(List attributesAsElements)
    • getIgnoredElements

      public List getIgnoredElements()
    • setIgnoredElements

      public void setIgnoredElements(List ignoredElements)
    • getXmlToJsonNamespaces

      public Map getXmlToJsonNamespaces()
    • setXmlToJsonNamespaces

      public void setXmlToJsonNamespaces(Map xmlToJsonNamespaces)
    • getTypeConverter

      public TypeConverter getTypeConverter()
    • setTypeConverter

      public void setTypeConverter(TypeConverter typeConverter)
    • isSupressAtAttributes

      public boolean isSupressAtAttributes()
    • setSupressAtAttributes

      public void setSupressAtAttributes(boolean supressAtAttributes)
    • getAttributeKey

      public String getAttributeKey()
    • setAttributeKey

      public void setAttributeKey(String attributeKey)
    • newDefaultConverterInstance

      static TypeConverter newDefaultConverterInstance()
    • getPrimitiveArrayKeys

      public Set getPrimitiveArrayKeys()
    • setPrimitiveArrayKeys

      public void setPrimitiveArrayKeys(Set primitiveArrayKeys)
    • 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 public void setReadNullAsEmptyString(boolean read)
      Deprecated.
    • isEscapeForwardSlashAlways

      public boolean isEscapeForwardSlashAlways()
    • setEscapeForwardSlashAlways

      public void setEscapeForwardSlashAlways(boolean escapeForwardSlash)
    • getJsonNamespaceSeparator

      public String getJsonNamespaceSeparator()
    • setJsonNamespaceSeparator

      public void setJsonNamespaceSeparator(String jsonNamespaceSeparator)