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 String
extractKEYSAsString
(AFrame frame) static String
getContentFromDATACas
(CasData aCas) static String
getFeatureValueByType
(CasData aCAS, String featureName) static AFrame
produceAFrame
(String cmd, String content) static AFrame
replyWithAnalysis
(BaseClient conn, VinciFrame requestFrame) Package theVinciFrame
containing result of the requested operation into a Vinci Data frame.static AFrame
replyWithAnalysis
(VinciClient conn, VinciFrame requestFrame) Package theVinciFrame
containing result of the requested operation into a Vinci Data frame.replyWithError
(String errorMsg) Creates and populates an error frame.static String
stripVinciFrame
(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:
VinciFrame
instance containing error
-
replyWithAnalysis
Package theVinciFrame
containing result of the requested operation into a Vinci Data frame.- Parameters:
conn
- the connectionrequestFrame
-VinciFrame
containing result of thsi service operation- Returns:
VinciFrame
VinciData frame.- Throws:
Exception
- -
-
replyWithAnalysis
Package theVinciFrame
containing result of the requested operation into a Vinci Data frame.- Parameters:
conn
- the connectionrequestFrame
-VinciFrame
containing result of thsi service operation- Returns:
VinciFrame
VinciData frame.- Throws:
Exception
-
produceAFrame
-
extractKEYSAsString
-
getFeatureValueByType
-
getContentFromDATACas
-
stripVinciFrame
Returns a content from a given VinciFrame.
-