Class MarshallerHelper
- java.lang.Object
-
- org.kie.server.services.impl.marshal.MarshallerHelper
-
public class MarshallerHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description MarshallerHelper(KieServerRegistry registry)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.kie.server.api.marshalling.MarshallingFormatgetFormat(String descriptor)KieServerRegistrygetRegistry()Stringmarshal(String marshallingFormat, Object entity)Stringmarshal(String containerId, String marshallingFormat, Object entity)Stringmarshal(String containerId, String marshallingFormat, Object entity, ContainerLocator locator)<T> Tunmarshal(String data, String marshallingFormat, Class<T> unmarshalType)<T> Tunmarshal(String containerId, String data, String marshallingFormat, Class<T> unmarshalType)<T> Tunmarshal(String containerId, String data, String marshallingFormat, Class<T> unmarshalType, ContainerLocator locator)
-
-
-
Constructor Detail
-
MarshallerHelper
public MarshallerHelper(KieServerRegistry registry)
-
-
Method Detail
-
getRegistry
public KieServerRegistry getRegistry()
-
marshal
public String marshal(String containerId, String marshallingFormat, Object entity, ContainerLocator locator)
-
unmarshal
public <T> T unmarshal(String containerId, String data, String marshallingFormat, Class<T> unmarshalType)
-
unmarshal
public <T> T unmarshal(String containerId, String data, String marshallingFormat, Class<T> unmarshalType, ContainerLocator locator)
-
getFormat
public static org.kie.server.api.marshalling.MarshallingFormat getFormat(String descriptor)
-
-