public class SimilarityCalculationClientImpl extends ServiceClientImpl implements SimilarityCalculationClient
Constructor and Description |
---|
SimilarityCalculationClientImpl(URL serviceUrl) |
Modifier and Type | Method and Description |
---|---|
double |
calculate(Language language,
String text1,
String text2) |
protected org.apache.axis.client.Stub |
createStub(URL url) |
addRequestHeader, convert, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, invoke, setPassword, setUpService, setUserId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRequestHeader, getLastCallTree, getLastCopyrightInfo, getLastLicenseInfo, getLastName, getTreeBindings, setPassword, setUserId
public SimilarityCalculationClientImpl(URL serviceUrl)
public double calculate(Language language, String text1, String text2) throws LangridException
calculate
in interface SimilarityCalculationClient
LangridException
protected org.apache.axis.client.Stub createStub(URL url) throws javax.xml.rpc.ServiceException
createStub
in class ServiceClientImpl
javax.xml.rpc.ServiceException