Class VinciSaxParser
- java.lang.Object
-
- org.apache.uima.adapter.vinci.util.VinciSaxParser
-
public class VinciSaxParser extends java.lang.ObjectTakes a Vinci frame and generates SAX events that correspond to the data in the frame.
-
-
Field Summary
Fields Modifier and Type Field Description private org.xml.sax.ContentHandlermHandlerThe m handler.
-
Constructor Summary
Constructors Constructor Description VinciSaxParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void_parse(VinciFrame aFrame)Parses the.voidparse(VinciFrame aFrame)Parses the.voidparse(VinciFrame aFrame, boolean aSendStartAndEndDocEvents)Parses the.voidsetContentHandler(org.xml.sax.ContentHandler aHandler)Sets the content handler.
-
-
-
Method Detail
-
setContentHandler
public void setContentHandler(org.xml.sax.ContentHandler aHandler)
Sets the content handler.- Parameters:
aHandler- the new content handler
-
parse
public void parse(VinciFrame aFrame) throws org.xml.sax.SAXException
Parses the.- Parameters:
aFrame- the a frame- Throws:
org.xml.sax.SAXException- the SAX exception
-
parse
public void parse(VinciFrame aFrame, boolean aSendStartAndEndDocEvents) throws org.xml.sax.SAXException
Parses the.- Parameters:
aFrame- the a frameaSendStartAndEndDocEvents- the a send start and end doc events- Throws:
org.xml.sax.SAXException- the SAX exception
-
_parse
protected void _parse(VinciFrame aFrame) throws org.xml.sax.SAXException
Parses the.- Parameters:
aFrame- the a frame- Throws:
org.xml.sax.SAXException- the SAX exception
-
-