public class XStreamHandler extends AbstractContentTypeHandler
| Constructor and Description |
|---|
XStreamHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDefaultPermissions(ActionInvocation invocation,
com.thoughtworks.xstream.XStream stream) |
protected com.thoughtworks.xstream.XStream |
createXStream(ActionInvocation invocation) |
String |
fromObject(ActionInvocation invocation,
Object obj,
String resultCode,
Writer out) |
String |
getContentType()
Gets the content type for this handler
|
String |
getExtension()
Gets the extension this handler supports
|
void |
toObject(ActionInvocation invocation,
Reader in,
Object target) |
fromObject, toObjectpublic String fromObject(ActionInvocation invocation, Object obj, String resultCode, Writer out) throws IOException
IOExceptionpublic void toObject(ActionInvocation invocation, Reader in, Object target)
protected com.thoughtworks.xstream.XStream createXStream(ActionInvocation invocation)
protected void addDefaultPermissions(ActionInvocation invocation, com.thoughtworks.xstream.XStream stream)
public String getContentType()
ContentTypeHandlerpublic String getExtension()
ContentTypeHandlerCopyright © 2000–2025 Apache Software Foundation. All rights reserved.