public class MarshallerHelper extends Object
| Constructor and Description |
|---|
MarshallerHelper(KieServerRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
static org.kie.server.api.marshalling.MarshallingFormat |
getFormat(String descriptor) |
KieServerRegistry |
getRegistry() |
String |
marshal(String marshallingFormat,
Object entity) |
String |
marshal(String containerId,
String marshallingFormat,
Object entity) |
String |
marshal(String containerId,
String marshallingFormat,
Object entity,
ContainerLocator locator) |
<T> T |
unmarshal(String data,
String marshallingFormat,
Class<T> unmarshalType) |
<T> T |
unmarshal(String containerId,
String data,
String marshallingFormat,
Class<T> unmarshalType) |
<T> T |
unmarshal(String containerId,
String data,
String marshallingFormat,
Class<T> unmarshalType,
ContainerLocator locator) |
public MarshallerHelper(KieServerRegistry registry)
public KieServerRegistry getRegistry()
public String marshal(String containerId, String marshallingFormat, Object entity, ContainerLocator locator)
public <T> T unmarshal(String containerId, String data, String marshallingFormat, Class<T> unmarshalType)
public <T> T unmarshal(String containerId, String data, String marshallingFormat, Class<T> unmarshalType, ContainerLocator locator)
public static org.kie.server.api.marshalling.MarshallingFormat getFormat(String descriptor)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.