com.languagecomputer.api
Class DossierWebServiceImpl
java.lang.Object
com.languagecomputer.api.BaseWebServiceImpl
com.languagecomputer.api.DossierWebServiceImpl
- All Implemented Interfaces:
- BaseWebService, DossierWebService
public class DossierWebServiceImpl
- extends BaseWebServiceImpl
- implements DossierWebService
Implementation of DossierWebService
.
- Since:
- 1.0
- Author:
- Toby Jungen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xmlConverter
protected DocumentXML xmlConverter
DossierWebServiceImpl
public DossierWebServiceImpl(SessionManager sessionManager)
- Creates a new
DossierWebServiceImpl
using the given
sessionManager.
- Parameters:
sessionManager
- The SessionManager
to use for Session
control.
process
public void process(String sessionID,
String document,
String format)
throws Exception
- Identifies any dossier attributes in the provided document.
- Specified by:
process
in interface DossierWebService
- Parameters:
sessionID
- The unique identifier String
for the session
for this operation.document
- The document in the format described in the
format parameter.format
- The format of the document. Defaults to XML
.
- Throws:
Exception
- If there was an error processing the document.
obtain
public String obtain(String sessionID,
String name)
throws Exception
- Annotates the provided document with coreference information.
- Specified by:
obtain
in interface DossierWebService
- Parameters:
sessionID
- The unique identifier String
for the session
for this operation.name
- The name of the dossier to retrieve.
- Returns:
- The list of dossiers that match the specified name. May be empty.
- Throws:
Exception
- If there was an error obtaining the dossier.
Copyright © 2009. All Rights Reserved.