Class Vinci
java.lang.Object
org.apache.uima.collection.impl.cpm.vinci.Vinci
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringextractKEYSAsString(AFrame frame) static StringgetContentFromDATACas(CasData aCas) static StringgetFeatureValueByType(CasData aCAS, String featureName) static AFrameproduceAFrame(String cmd, String content) static AFramereplyWithAnalysis(BaseClient conn, VinciFrame requestFrame) Package theVinciFramecontaining result of the requested operation into a Vinci Data frame.static AFramereplyWithAnalysis(VinciClient conn, VinciFrame requestFrame) Package theVinciFramecontaining result of the requested operation into a Vinci Data frame.replyWithError(String errorMsg) Creates and populates an error frame.static StringstripVinciFrame(VinciFrame aFrame) Returns a content from a given VinciFrame.
-
Field Details
-
VNS_HOST
- See Also:
-
VNS_PORT
- See Also:
-
-
Constructor Details
-
Vinci
public Vinci()
-
-
Method Details
-
replyWithError
Creates and populates an error frame.- Parameters:
errorMsg- - error message to place in the error frame- Returns:
VinciFrameinstance containing error
-
replyWithAnalysis
Package theVinciFramecontaining result of the requested operation into a Vinci Data frame.- Parameters:
conn- the connectionrequestFrame-VinciFramecontaining result of thsi service operation- Returns:
VinciFrameVinciData frame.- Throws:
Exception- -
-
replyWithAnalysis
Package theVinciFramecontaining result of the requested operation into a Vinci Data frame.- Parameters:
conn- the connectionrequestFrame-VinciFramecontaining result of thsi service operation- Returns:
VinciFrameVinciData frame.- Throws:
Exception
-
produceAFrame
-
extractKEYSAsString
-
getFeatureValueByType
-
getContentFromDATACas
-
stripVinciFrame
Returns a content from a given VinciFrame.
-