public class IdentityPlaceholderResolverStrategy extends Object implements org.kie.api.marshalling.ObjectMarshallingStrategy
| Constructor and Description |
|---|
IdentityPlaceholderResolverStrategy(org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor) |
IdentityPlaceholderResolverStrategy(org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor,
Map<Integer,Object> ids) |
IdentityPlaceholderResolverStrategy(String name,
org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor) |
IdentityPlaceholderResolverStrategy(String name,
org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor,
Map<Integer,Object> ids) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Object object) |
org.kie.api.marshalling.ObjectMarshallingStrategy.Context |
createContext() |
Map<Integer,Object> |
getIds() |
String |
getName() |
byte[] |
marshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context,
ObjectOutputStream os,
Object object) |
Object |
read(ObjectInputStream os) |
void |
setIds(Map<Integer,Object> ids) |
Object |
unmarshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context,
ObjectInputStream is,
byte[] object,
ClassLoader classloader) |
void |
write(ObjectOutputStream os,
Object object) |
public IdentityPlaceholderResolverStrategy(org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor)
public IdentityPlaceholderResolverStrategy(String name, org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor)
public IdentityPlaceholderResolverStrategy(org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor,
Map<Integer,Object> ids)
public String getName()
getName in interface org.kie.api.marshalling.ObjectMarshallingStrategypublic Object read(ObjectInputStream os) throws IOException, ClassNotFoundException
read in interface org.kie.api.marshalling.ObjectMarshallingStrategyIOExceptionClassNotFoundExceptionpublic void write(ObjectOutputStream os, Object object) throws IOException
write in interface org.kie.api.marshalling.ObjectMarshallingStrategyIOExceptionpublic boolean accept(Object object)
accept in interface org.kie.api.marshalling.ObjectMarshallingStrategypublic byte[] marshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context,
ObjectOutputStream os,
Object object)
marshal in interface org.kie.api.marshalling.ObjectMarshallingStrategypublic Object unmarshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context, ObjectInputStream is, byte[] object, ClassLoader classloader)
unmarshal in interface org.kie.api.marshalling.ObjectMarshallingStrategypublic org.kie.api.marshalling.ObjectMarshallingStrategy.Context createContext()
createContext in interface org.kie.api.marshalling.ObjectMarshallingStrategyCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.