|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.languagecomputer.api.BaseWebClient<EventWebService>
com.languagecomputer.api.EventServiceWebClient
public class EventServiceWebClient
Web service client wrapper for the EventService. Handles all the
web service interaction code. Combined with the EventService
class, this provides a java-to-java interaction that masks the web service
functionality.
| Constructor Summary | |
|---|---|
EventServiceWebClient(ServiceConfig serviceConfig)
Creates a new EventServiceWebClient with the given
ServiceConfig. |
|
| Method Summary | |
|---|---|
String |
getName()
Returns the name of the service to use for URL lookup. |
protected Class<EventWebService> |
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 EventServiceWebClient(ServiceConfig serviceConfig)
EventServiceWebClient with the given
ServiceConfig.
| Method Detail |
|---|
public String getName()
getName in interface ServicegetName in class BaseWebClient<EventWebService>protected Class<EventWebService> getWebServiceClass()
BaseWebService class this BaseWebClient
wraps.
getWebServiceClass in class BaseWebClient<EventWebService>public void process(Document document)
Document, attaching the results as Text
objects.
process in interface AnnotationServicedocument - Document to process.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||