org.jbpm.document.marshalling
Class DocumentMarshallingStrategy
java.lang.Object
org.jbpm.document.marshalling.DocumentMarshallingStrategy
- All Implemented Interfaces:
- org.kie.api.marshalling.ObjectMarshallingStrategy
public class DocumentMarshallingStrategy
- extends Object
- implements org.kie.api.marshalling.ObjectMarshallingStrategy
Nested classes/interfaces inherited from interface org.kie.api.marshalling.ObjectMarshallingStrategy |
org.kie.api.marshalling.ObjectMarshallingStrategy.Context |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentMarshallingStrategy
public DocumentMarshallingStrategy()
accept
public boolean accept(Object o)
- Specified by:
accept
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
write
public void write(ObjectOutputStream os,
Object object)
throws IOException
- Specified by:
write
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
- Throws:
IOException
read
public Object read(ObjectInputStream os)
throws IOException,
ClassNotFoundException
- Specified by:
read
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
- Throws:
IOException
ClassNotFoundException
marshal
public byte[] marshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context,
ObjectOutputStream objectOutputStream,
Object o)
throws IOException
- Specified by:
marshal
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
- Throws:
IOException
unmarshal
public Object unmarshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context,
ObjectInputStream objectInputStream,
byte[] object,
ClassLoader classLoader)
throws IOException,
ClassNotFoundException
- Specified by:
unmarshal
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
- Throws:
IOException
ClassNotFoundException
createContext
public org.kie.api.marshalling.ObjectMarshallingStrategy.Context createContext()
- Specified by:
createContext
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.