org.jbpm.console.ng.documents.backend.server.marshalling
Class CMISDocumentMarshallingStrategy
java.lang.Object
org.jbpm.console.ng.documents.backend.server.marshalling.CMISDocumentMarshallingStrategy
- All Implemented Interfaces:
- org.kie.api.marshalling.ObjectMarshallingStrategy
public class CMISDocumentMarshallingStrategy
- 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 |
CMISDocumentMarshallingStrategy
public CMISDocumentMarshallingStrategy()
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 os,
Object object)
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-2015 JBoss by Red Hat. All Rights Reserved.