Package org.kie.server.api.marshalling
Interface MarshallerBuilder
-
- All Known Implementing Classes:
BaseMarshallerBuilder
public interface MarshallerBuilder
Allows plugable builders for various marshallers so out of the box functionality can be enhanced
-
-
Method Summary
All Methods Instance Methods Abstract 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
Marshaller build(Set<Class<?>> classes, MarshallingFormat format, ClassLoader classLoader)
Based on given parameters builds marshaller instance that matches given format (MarshallingFormat)- 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
-
-