Class VinciSaxParser
- java.lang.Object
-
- org.apache.uima.adapter.vinci.util.VinciSaxParser
-
public class VinciSaxParser extends java.lang.Object
Takes 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.ContentHandler
mHandler
The 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.void
parse(VinciFrame aFrame)
Parses the.void
parse(VinciFrame aFrame, boolean aSendStartAndEndDocEvents)
Parses the.void
setContentHandler(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
-
-