| Constructor and Description |
|---|
DocumentsMarshallingStrategy(DocumentMarshallingStrategy docMarshallingStrategy) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Object o) |
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 DocumentsMarshallingStrategy(DocumentMarshallingStrategy docMarshallingStrategy)
public boolean accept(Object o)
accept in interface org.kie.api.marshalling.ObjectMarshallingStrategypublic 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.ObjectMarshallingStrategyCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.