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) |
| 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)
protected String getLeafContent(String aFrameName, Attributes aAttributes, 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, Attributes, StringBuffer)Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.