public class UimaSaxVinciFrameBuilder extends SaxVinciFrameBuilder
SaxVinciFrameBuilder utility for UIMA analysis
engine services. Adds two options:
| Constructor and Description |
|---|
UimaSaxVinciFrameBuilder(boolean aSupressDocumentText,
boolean aIncludeSpannedTextInAnnotations,
java.lang.String aDocText) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getLeafContent(java.lang.String aFrameName,
org.xml.sax.Attributes aAttributes,
java.lang.StringBuffer aContentBuf)
Overridden to supress document content and include annotation spans.
|
characters, endElement, getName, setParentFrame, startDocument, startElementendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warningpublic UimaSaxVinciFrameBuilder(boolean aSupressDocumentText,
boolean aIncludeSpannedTextInAnnotations,
java.lang.String aDocText)
protected java.lang.String getLeafContent(java.lang.String aFrameName,
org.xml.sax.Attributes aAttributes,
java.lang.StringBuffer aContentBuf)
getLeafContent in class SaxVinciFrameBuilderaFrameName - name of the FrameLeafaAttributes - attributes of FrameLeafaContentBuf - StringBuffer containing the character data obtained from the SAX parserSaxVinciFrameBuilder#getLeafContent(String, Attibutes, StringBuffer)Copyright © 2013. All Rights Reserved.