|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.apache.uima.adapter.vinci.util.SaxVinciFrameBuilder
org.apache.uima.adapter.vinci.util.UimaSaxVinciFrameBuilder
public class UimaSaxVinciFrameBuilder
A specialization of the general SaxVinciFrameBuilder utility for UIMA analysis
engine services. Adds two options:
| Constructor Summary | |
|---|---|
UimaSaxVinciFrameBuilder(boolean aSupressDocumentText,
boolean aIncludeSpannedTextInAnnotations,
java.lang.String aDocText)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.uima.adapter.vinci.util.SaxVinciFrameBuilder |
|---|
characters, endElement, getName, setParentFrame, startDocument, startElement |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xml.sax.ContentHandler |
|---|
endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping |
| Constructor Detail |
|---|
public UimaSaxVinciFrameBuilder(boolean aSupressDocumentText,
boolean aIncludeSpannedTextInAnnotations,
java.lang.String aDocText)
| Method Detail |
|---|
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 parser
SaxVinciFrameBuilder#getLeafContent(String, Attibutes, StringBuffer)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||