org.apache.uima.cas.impl
Class Serialization

java.lang.Object
  extended by org.apache.uima.cas.impl.Serialization

public class Serialization
extends java.lang.Object


Constructor Summary
Serialization()
           
 
Method Summary
static CAS createCAS(CASMgr casMgr, CASSerializer casSer)
           
static CASMgr createCASMgr(CASMgrSerializer ser)
           
static void deserializeCAS(CAS cas, java.io.InputStream istream)
           
static void deserializeCASComplete(CASCompleteSerializer casCompSer, CASMgr casMgr)
           
static CASSerializer serializeCAS(CAS cas)
           
static void serializeCAS(CAS cas, java.io.OutputStream ostream)
           
static void serializeCAS(CAS cas, java.io.OutputStream ostream, Marker mark)
          Serializes CAS data added or modified after the tracking Marker was created and writes it to the output stream in Delta CAS format
static CASCompleteSerializer serializeCASComplete(CASMgr casMgr)
           
static CASMgrSerializer serializeCASMgr(CASMgr casMgr)
           
static CASSerializer serializeNoMetaData(CAS cas)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Serialization

public Serialization()
Method Detail

serializeCAS

public static CASSerializer serializeCAS(CAS cas)

serializeNoMetaData

public static CASSerializer serializeNoMetaData(CAS cas)

serializeCASMgr

public static CASMgrSerializer serializeCASMgr(CASMgr casMgr)

serializeCASComplete

public static CASCompleteSerializer serializeCASComplete(CASMgr casMgr)

deserializeCASComplete

public static void deserializeCASComplete(CASCompleteSerializer casCompSer,
                                          CASMgr casMgr)

createCASMgr

public static CASMgr createCASMgr(CASMgrSerializer ser)

createCAS

public static CAS createCAS(CASMgr casMgr,
                            CASSerializer casSer)

serializeCAS

public static void serializeCAS(CAS cas,
                                java.io.OutputStream ostream)

deserializeCAS

public static void deserializeCAS(CAS cas,
                                  java.io.InputStream istream)

serializeCAS

public static void serializeCAS(CAS cas,
                                java.io.OutputStream ostream,
                                Marker mark)
Serializes CAS data added or modified after the tracking Marker was created and writes it to the output stream in Delta CAS format

Parameters:
cas -
ostream -
mark -


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.