public class JacksonXmlHandler extends AbstractContentTypeHandler
| Constructor and Description |
|---|
JacksonXmlHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
fromObject(ActionInvocation invocation,
Object obj,
String resultCode,
Writer stream) |
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 void toObject(ActionInvocation invocation, Reader in, Object target) throws IOException
IOExceptionpublic String fromObject(ActionInvocation invocation, Object obj, String resultCode, Writer stream) throws IOException
IOExceptionpublic String getContentType()
ContentTypeHandlerpublic String getExtension()
ContentTypeHandlerCopyright © 2000–2025 Apache Software Foundation. All rights reserved.