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.ObjectMarshallingStrategy
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
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.