jBPM :: Document Service 6.2.0.Beta1

org.jbpm.document.marshalling
Class DocumentMarshallingStrategy

java.lang.Object
  extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface org.kie.api.marshalling.ObjectMarshallingStrategy
org.kie.api.marshalling.ObjectMarshallingStrategy.Context
 
Constructor Summary
DocumentMarshallingStrategy()
           
 
Method Summary
 boolean accept(Object o)
           
 org.kie.api.marshalling.ObjectMarshallingStrategy.Context createContext()
           
 byte[] marshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context, ObjectOutputStream objectOutputStream, Object o)
           
 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

DocumentMarshallingStrategy

public DocumentMarshallingStrategy()
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 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

jBPM :: Document Service 6.2.0.Beta1

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