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() |
ClassLoader |
getClassLoader() |
MarshallingFormat |
getFormat() |
protected Marshaller |
getMarshaller() |
protected Unmarshaller |
getUnmarshaller() |
String |
marshall(Object input) |
void |
setClassLoader(ClassLoader classLoader) |
<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
JAXBExceptionpublic void setClassLoader(ClassLoader classLoader)
setClassLoader in interface Marshallerpublic ClassLoader getClassLoader()
getClassLoader in interface MarshallerCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.