|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.cas_data.impl.vinci.VinciCasDataConverter
public class VinciCasDataConverter
Utilities for converting a VinciFrame to and from a CasData.
| Constructor Summary | |
|---|---|
VinciCasDataConverter(java.lang.String aUeidType,
java.lang.String aUeidFeature,
java.lang.String aCasDataDocTextType,
java.lang.String aCasDataDocTextFeature,
java.lang.String aXCasDocTextTag,
boolean aIncludeAnnotationSpannedText)
Creates a new VinciCasDataConverter |
|
| Method Summary | |
|---|---|
void |
appendVinciFrameToCasData(AFrame aCasFrame,
CasData aCasData)
Converts a VinciFrame to a CasData, appending to an existing CasData. |
void |
casDataToVinciFrame(CasData aCasData,
AFrame aParentFrame)
Converts a CasData to a VinciFrame |
CasData |
vinciFrameToCasData(AFrame aCasFrame)
Converts a VinciFrame to a CasData. |
void |
vinciFrameToCasData(AFrame aCasFrame,
CasData aCasData)
Deprecated. Use appendVinciFrameToCasData(Aframe, CasData) or vinciFrameToCasData(AFrame) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VinciCasDataConverter(java.lang.String aUeidType,
java.lang.String aUeidFeature,
java.lang.String aCasDataDocTextType,
java.lang.String aCasDataDocTextFeature,
java.lang.String aXCasDocTextTag,
boolean aIncludeAnnotationSpannedText)
aUeidType - CasData type that contains the UEID (may be null)aUeidFeature - CasData feature that contains the UEID (may be null)aCasDataDocTextType - CasData type that contains the document textaCasDataDocTextFeature - CasData feature that contains the document textaXCasDocTextTag - XCas tag representing the document textaIncludeAnnotationSpannedText - if true, when generating XCas for an annotation, the spanned text of the annotation
will be included as the content of the XCas element.| Method Detail |
|---|
public void casDataToVinciFrame(CasData aCasData,
AFrame aParentFrame)
throws java.io.IOException,
org.xml.sax.SAXException
aCasData - CasData to convertaParentFrame - VinciFrame to be the parent of the frame created from the CasData
java.io.IOException
org.xml.sax.SAXException
@Deprecated
public void vinciFrameToCasData(AFrame aCasFrame,
CasData aCasData)
throws org.xml.sax.SAXException
aCasFrame - VinciFrame containing XCASaCasData - CasData to which FeatureStructures from XCAS will be appended
org.xml.sax.SAXException
public CasData vinciFrameToCasData(AFrame aCasFrame)
throws org.xml.sax.SAXException
aCasFrame - VinciFrame containing XCAS
org.xml.sax.SAXException
public void appendVinciFrameToCasData(AFrame aCasFrame,
CasData aCasData)
throws org.xml.sax.SAXException
aCasFrame - VinciFrame containing XCASaCasData - CasData to which FeatureStructures from XCAS will be appended
org.xml.sax.SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||