Package org.kie.server.api.marshalling
Class BaseMarshallerBuilder
- java.lang.Object
-
- org.kie.server.api.marshalling.BaseMarshallerBuilder
-
- All Implemented Interfaces:
MarshallerBuilder
public class BaseMarshallerBuilder extends Object implements MarshallerBuilder
Default implementation of marshaller builder
-
-
Constructor Summary
Constructors Constructor Description BaseMarshallerBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Marshaller
build(Set<Class<?>> classes, MarshallingFormat format, ClassLoader classLoader)
Based on given parameters builds marshaller instance that matches given format (MarshallingFormat)
-
-
-
Method Detail
-
build
public Marshaller build(Set<Class<?>> classes, MarshallingFormat format, ClassLoader classLoader)
Description copied from interface:MarshallerBuilder
Based on given parameters builds marshaller instance that matches given format (MarshallingFormat)- Specified by:
build
in interfaceMarshallerBuilder
- Parameters:
classes
- optional set of custom classes - can be nullformat
- expected type of the marshallerclassLoader
- class loader to be used for this marshaller- Returns:
- new instance of marshaller
-
-