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.ObjectMarshallingStrategyIOExceptionpublic 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.ObjectMarshallingStrategyIOExceptionClassNotFoundExceptionpublic Object read(ObjectInputStream arg0) throws IOException, ClassNotFoundException
read in interface org.kie.api.marshalling.ObjectMarshallingStrategyIOExceptionClassNotFoundExceptionpublic void write(ObjectOutputStream arg0, Object arg1) throws IOException
write in interface org.kie.api.marshalling.ObjectMarshallingStrategyIOExceptionpublic org.kie.api.marshalling.ObjectMarshallingStrategy.Context createContext()
createContext in interface org.kie.api.marshalling.ObjectMarshallingStrategypublic abstract DocumentCollection<? extends Document> buildDocumentCollection()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.