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 Marshallerbuild(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:MarshallerBuilderBased on given parameters builds marshaller instance that matches given format (MarshallingFormat)- Specified by:
buildin 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
-
-