public class MarshallerFactory extends Object
| Constructor and Description |
|---|
MarshallerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Marshaller |
getMarshaller(MarshallingFormat format,
ClassLoader classLoader)
Builds new marshaller for given format and class loader
|
static Marshaller |
getMarshaller(Set<Class<?>> classes,
MarshallingFormat format,
ClassLoader classLoader)
Builds new marshaller for given format and class loader
|
public static Marshaller getMarshaller(MarshallingFormat format, ClassLoader classLoader)
format - marshaller format that marshaller should be built forclassLoader - classloader to be used by the marshallerpublic static Marshaller getMarshaller(Set<Class<?>> classes, MarshallingFormat format, ClassLoader classLoader)
classes - optional custom classes to be added to marshaller - might be nullformat - marshaller format that marshaller should be built forclassLoader - classloader to be used by the marshallerCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.