public class JaxbMarshaller extends Object implements Marshaller
| Modifier and Type | Field and Description |
|---|---|
static Class<?>[] |
KIE_SERVER_JAXB_CLASSES |
| Constructor and Description |
|---|
JaxbMarshaller(Set<Class<?>> classes,
ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
MarshallingFormat |
getFormat() |
protected Marshaller |
getMarshaller() |
protected Unmarshaller |
getUnmarshaller() |
String |
marshall(Object input) |
<T> T |
unmarshall(String input,
Class<T> type) |
public static final Class<?>[] KIE_SERVER_JAXB_CLASSES
public JaxbMarshaller(Set<Class<?>> classes, ClassLoader classLoader)
public String marshall(Object input)
marshall in interface Marshallerpublic <T> T unmarshall(String input, Class<T> type)
unmarshall in interface Marshallerpublic void dispose()
dispose in interface Marshallerpublic MarshallingFormat getFormat()
getFormat in interface Marshallerprotected Marshaller getMarshaller() throws JAXBException
JAXBExceptionprotected Unmarshaller getUnmarshaller() throws JAXBException
JAXBExceptionCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.