org.sonatype.sisu.goodies.marshal.internal.jaxb
Class JaxbMarshaller
java.lang.Object
org.sonatype.sisu.goodies.common.ComponentSupport
org.sonatype.sisu.goodies.marshal.internal.MarshallerSupport
org.sonatype.sisu.goodies.marshal.internal.jaxb.JaxbMarshaller
- All Implemented Interfaces:
- Marshaller
@Named(value="jaxb")
public class JaxbMarshaller
- extends MarshallerSupport
JAXB Marshaller
.
- Since:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaxbMarshaller
@Inject
public JaxbMarshaller(JaxbComponentFactory factory)
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.