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

void org::apache::uima::cas::impl::XmiCasSerializer::serialize ( CAS  cas,
ContentHandler  contentHandler,
ErrorHandler  errorHandler 
) 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
Exceptions:
IOException
SAXException

Definition at line 1494 of file XmiCasSerializer.java.

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

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

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index