public class UimaSaxVinciFrameBuilder extends SaxVinciFrameBuilder
SaxVinciFrameBuilder utility for UIMA analysis
engine services. Adds two options:
| Constructor and Description |
|---|
UimaSaxVinciFrameBuilder(boolean aSupressDocumentText,
boolean aIncludeSpannedTextInAnnotations,
String aDocText)
Instantiates a new uima sax vinci frame builder.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getLeafContent(String aFrameName,
Attributes aAttributes,
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, warningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMappingpublic UimaSaxVinciFrameBuilder(boolean aSupressDocumentText,
boolean aIncludeSpannedTextInAnnotations,
String aDocText)
aSupressDocumentText - the a supress document textaIncludeSpannedTextInAnnotations - the a include spanned text in annotationsaDocText - the a doc textprotected String getLeafContent(String aFrameName, Attributes aAttributes, StringBuffer aContentBuf)
getLeafContent in class SaxVinciFrameBuilderaFrameName - the a frame nameaAttributes - the a attributesaContentBuf - the a content bufSaxVinciFrameBuilder.getLeafContent(String, Attributes, StringBuffer)Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.