public class SerializablePlaceholderResolverStrategy extends Object implements org.kie.api.marshalling.ObjectMarshallingStrategy
Modifier and Type | Class and Description |
---|---|
protected static class |
SerializablePlaceholderResolverStrategy.SerializablePlaceholderStrategyContext |
Constructor and Description |
---|
SerializablePlaceholderResolverStrategy(org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Object object) |
org.kie.api.marshalling.ObjectMarshallingStrategy.Context |
createContext() |
int |
getIndex() |
byte[] |
marshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context,
ObjectOutputStream os,
Object object) |
Object |
read(ObjectInputStream os) |
void |
setIndex(int index) |
Object |
unmarshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context,
ObjectInputStream is,
byte[] object,
ClassLoader classloader) |
void |
write(ObjectOutputStream os,
Object object) |
public SerializablePlaceholderResolverStrategy(org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor)
public int getIndex()
public void setIndex(int index)
public Object read(ObjectInputStream os) throws IOException, ClassNotFoundException
read
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
IOException
ClassNotFoundException
public void write(ObjectOutputStream os, Object object) throws IOException
write
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
IOException
public boolean accept(Object object)
accept
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
public byte[] marshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context, ObjectOutputStream os, Object object) throws IOException
marshal
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
IOException
public Object unmarshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context, ObjectInputStream is, byte[] object, ClassLoader classloader) throws IOException, ClassNotFoundException
unmarshal
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
IOException
ClassNotFoundException
public org.kie.api.marshalling.ObjectMarshallingStrategy.Context createContext()
createContext
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.