org.springframework.web.servlet.view.json.writer.xstream
Class XStreamJsonStringWriter
java.lang.Object
org.springframework.web.servlet.view.json.writer.xstream.XStreamJsonStringWriter
- All Implemented Interfaces:
- JsonStringWriter
public class XStreamJsonStringWriter
- extends Object
- implements JsonStringWriter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_ROOTNAME
public static final String DEFAULT_ROOTNAME
- See Also:
- Constant Field Values
XStreamJsonStringWriter
public XStreamJsonStringWriter()
convertAndWrite
public void convertAndWrite(Map modelMap,
JsonWriterConfiguratorTemplateRegistry configuratorTemplateRegistry,
Writer writer,
org.springframework.validation.BindingResult br)
throws IOException
- Specified by:
convertAndWrite
in interface JsonStringWriter
- Throws:
IOException
getEnableJsonConfigSupport
public boolean getEnableJsonConfigSupport()
setEnableJsonConfigSupport
public void setEnableJsonConfigSupport(boolean enableJsonConfigSupport)
getConvertAllMapValues
public boolean getConvertAllMapValues()
setConvertAllMapValues
public void setConvertAllMapValues(boolean convertAllMapValues)
getKeepValueTypesMode
public String getKeepValueTypesMode()
setKeepValueTypesMode
public void setKeepValueTypesMode(String keepValueTypesMode)
getRootname
public String getRootname()
setRootname
public void setRootname(String rootname)
getProcessAnnotationsForTypes
public Class[] getProcessAnnotationsForTypes()
setProcessAnnotationsForTypes
public void setProcessAnnotationsForTypes(Class[] types)
setProcessAnnotationsForType
public void setProcessAnnotationsForType(Class type)
getAutodetectAnnotations
public Boolean getAutodetectAnnotations()
setAutodetectAnnotations
public void setAutodetectAnnotations(Boolean autodetectAnnotations)
isEnableAnnotationConf
public boolean isEnableAnnotationConf()
setEnableAnnotationConf
public void setEnableAnnotationConf(boolean enableAnnotationConf)
Copyright © 2010. All Rights Reserved.