Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

void org::apache::uima::cas::impl::XmiCasSerializer::serialize ( CAS  cas,
ContentHandler  contentHandler,
ErrorHandler  errorHandler,
XmiSerializationSharedData  sharedData,
Marker  marker 
) throws SAXException [inline]

Write the CAS data to a SAX content handler.

Parameters:
casThe CAS to be serialized.
contentHandlerThe SAX content handler the data is written to. should be inserted into the XCAS output
sharedDatadata structure used to allow the XmiCasSerializer and XmiCasDeserializer to share information.
markeran object used to filter the FSs and Views to determine if these were created after the mark was set. Used to serialize a Delta CAS consisting of only new FSs and views and preexisting FSs and Views that have been modified.
Exceptions:
IOException
SAXException

Definition at line 1544 of file XmiCasSerializer.java.

References org::apache::uima::cas::impl::XmiCasSerializer::XmiCasDocSerializer::serialize().

                                                                                    {
        
    contentHandler.startDocument();
    XmiCasDocSerializer ser = new XmiCasDocSerializer(contentHandler, errorHandler, ((CASImpl) cas)
            .getBaseCAS(), sharedData, (MarkerImpl) marker);
    ser.serialize();
    contentHandler.endDocument();
  }

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index