|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.languagecomputer.api.BaseWebClient<AttributeWebService> com.languagecomputer.api.AttributeServiceWebClient
public class AttributeServiceWebClient
Web service client wrapper for the AttributeService
. Handles all
the web service interaction code. Combined with the
AttributeService
class, this provides a java-to-java
interaction that masks the web service functionality.
Constructor Summary | |
---|---|
AttributeServiceWebClient(ServiceConfig serviceConfig)
Creates a new AttributeServiceWebClient with the given
ServiceConfig . |
Method Summary | |
---|---|
String |
getName()
Returns the name of the service to use for URL lookup. |
protected Class<AttributeWebService> |
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 AttributeServiceWebClient(ServiceConfig serviceConfig)
AttributeServiceWebClient
with the given
ServiceConfig
.
Method Detail |
---|
public String getName()
getName
in interface Service
getName
in class BaseWebClient<AttributeWebService>
protected Class<AttributeWebService> getWebServiceClass()
BaseWebService
class this BaseWebClient
wraps.
getWebServiceClass
in class BaseWebClient<AttributeWebService>
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 |