jBPM Console NG - Documents Backend 6.2.0-SNAPSHOT

org.jbpm.console.ng.documents.backend.server.marshalling
Class CMISDocumentMarshallingStrategy

java.lang.Object
  extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface org.kie.api.marshalling.ObjectMarshallingStrategy
org.kie.api.marshalling.ObjectMarshallingStrategy.Context
 
Constructor Summary
CMISDocumentMarshallingStrategy()
           
 
Method Summary
 boolean accept(Object o)
           
 org.kie.api.marshalling.ObjectMarshallingStrategy.Context createContext()
           
 byte[] marshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context, ObjectOutputStream os, Object object)
           
 Object read(ObjectInputStream os)
           
 Object unmarshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context, ObjectInputStream objectInputStream, byte[] object, ClassLoader classLoader)
           
 void write(ObjectOutputStream os, Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMISDocumentMarshallingStrategy

public CMISDocumentMarshallingStrategy()
Method Detail

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

jBPM Console NG - Documents Backend 6.2.0-SNAPSHOT

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.