Class VinciSaxParser

java.lang.Object
org.apache.uima.adapter.vinci.util.VinciSaxParser

public class VinciSaxParser extends Object
Takes a Vinci frame and generates SAX events that correspond to the data in the frame.
  • Constructor Details

    • VinciSaxParser

      public VinciSaxParser()
  • Method Details

    • setContentHandler

      public void setContentHandler(ContentHandler aHandler)
      Sets the content handler.
      Parameters:
      aHandler - the new content handler
    • parse

      public void parse(VinciFrame aFrame) throws SAXException
      Parses the.
      Parameters:
      aFrame - the a frame
      Throws:
      SAXException - the SAX exception
    • parse

      public void parse(VinciFrame aFrame, boolean aSendStartAndEndDocEvents) throws SAXException
      Parses the.
      Parameters:
      aFrame - the a frame
      aSendStartAndEndDocEvents - the a send start and end doc events
      Throws:
      SAXException - the SAX exception
    • _parse

      protected void _parse(VinciFrame aFrame) throws SAXException
      Parses the.
      Parameters:
      aFrame - the a frame
      Throws:
      SAXException - the SAX exception