org.sonatype.sisu.goodies.marshal.internal.xstream
Class XstreamMarshaller
java.lang.Object
org.sonatype.sisu.goodies.common.ComponentSupport
org.sonatype.sisu.goodies.marshal.internal.MarshallerSupport
org.sonatype.sisu.goodies.marshal.internal.xstream.XstreamMarshaller
- All Implemented Interfaces:
- Marshaller
@Named(value="xstream")
public class XstreamMarshaller
- extends MarshallerSupport
XStream Marshaller
.
- Since:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XstreamMarshaller
@Inject
public XstreamMarshaller(com.thoughtworks.xstream.XStream xstream)
XstreamMarshaller
@TestAccessible
public XstreamMarshaller()
doMarshal
protected String doMarshal(Object body)
throws Exception
- Specified by:
doMarshal
in class MarshallerSupport
- Throws:
Exception
doUnmarshal
protected <T> T doUnmarshal(String marshaled,
Class<T> type)
throws Exception
- Specified by:
doUnmarshal
in class MarshallerSupport
- Throws:
Exception
Copyright © 2008-2012 Sonatype, Inc.. All Rights Reserved.