|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.languagecomputer.api.BaseWebClient<CoreferenceWebService> com.languagecomputer.api.CoreferenceServiceWebClient
public class CoreferenceServiceWebClient
Web service client wrapper for the CoreferenceService
. Handles all
the web service interaction code. Combined with the
CoreferenceService
class, this provides a java-to-java
interaction that masks the web service functionality.
Constructor Summary | |
---|---|
CoreferenceServiceWebClient(ServiceConfig serviceConfig)
Creates a new CoreferenceServiceWebClient with the given
ServiceConfig . |
Method Summary | |
---|---|
String |
getName()
Returns the name of the service to use for URL lookup. |
protected Class<CoreferenceWebService> |
getWebServiceClass()
Returns the BaseWebService class this BaseWebClient
wraps. |
void |
process(Document document)
Annotates the given Document , attaching the results as Text
objects. |
Methods inherited from class com.languagecomputer.api.BaseWebClient |
---|
disconnect, getSessionID, getWebService, registerSession, sessionRegistered, setSession, setSessionID, unregisterSession |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.languagecomputer.api.Service |
---|
setSession |
Constructor Detail |
---|
public CoreferenceServiceWebClient(ServiceConfig serviceConfig)
CoreferenceServiceWebClient
with the given
ServiceConfig
.
Method Detail |
---|
public String getName()
getName
in interface Service
getName
in class BaseWebClient<CoreferenceWebService>
protected Class<CoreferenceWebService> getWebServiceClass()
BaseWebService
class this BaseWebClient
wraps.
getWebServiceClass
in class BaseWebClient<CoreferenceWebService>
public void process(Document document)
Document
, attaching the results as Text
objects.
process
in interface AnnotationService
document
- Document
to process.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |