public abstract class AbstractDocumentCollectionMarshallingStrategy extends Object implements org.kie.api.marshalling.ObjectMarshallingStrategy
Constructor and Description |
---|
AbstractDocumentCollectionMarshallingStrategy(DocumentMarshallingStrategy docMarshallingStrategy) |
Modifier and Type | Method and Description |
---|---|
abstract DocumentCollection<? extends Document> |
buildDocumentCollection() |
org.kie.api.marshalling.ObjectMarshallingStrategy.Context |
createContext() |
byte[] |
marshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context ctx,
ObjectOutputStream objectOutputStream,
Object o) |
Object |
read(ObjectInputStream arg0) |
Object |
unmarshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context ctx,
ObjectInputStream objectInputStream,
byte[] object,
ClassLoader classLoader) |
void |
write(ObjectOutputStream arg0,
Object arg1) |
public AbstractDocumentCollectionMarshallingStrategy(DocumentMarshallingStrategy docMarshallingStrategy)
public byte[] marshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context ctx, ObjectOutputStream objectOutputStream, Object o) throws IOException
marshal
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
IOException
public Object unmarshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context ctx, ObjectInputStream objectInputStream, byte[] object, ClassLoader classLoader) throws IOException, ClassNotFoundException
unmarshal
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
IOException
ClassNotFoundException
public Object read(ObjectInputStream arg0) throws IOException, ClassNotFoundException
read
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
IOException
ClassNotFoundException
public void write(ObjectOutputStream arg0, Object arg1) throws IOException
write
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
IOException
public org.kie.api.marshalling.ObjectMarshallingStrategy.Context createContext()
createContext
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
public abstract DocumentCollection<? extends Document> buildDocumentCollection()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.