de.dfki.lt.hog
Class Session
java.lang.Object
de.dfki.lt.hog.Session
public class Session
- extends java.lang.Object
In a session a
Constructor Summary |
Session(java.util.Map<java.lang.String,java.lang.String> sessionProperties,
java.util.Vector mods)
Creates a new Session with an own ID and a
Hashtable to store all the Document objects
this session is going to handle. |
Session(java.util.Map<java.lang.String,java.lang.String> sessionProperties,
java.util.Vector mods,
java.lang.String sessionId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Session
public Session(java.util.Map<java.lang.String,java.lang.String> sessionProperties,
java.util.Vector mods)
- Creates a new
Session
with an own ID and a
Hashtable
to store all the Document
objects
this session is going to handle.
- Parameters:
sessionProperties
- configuration for this Session
in a hashtablemods
- modules sorted by depth
Session
public Session(java.util.Map<java.lang.String,java.lang.String> sessionProperties,
java.util.Vector mods,
java.lang.String sessionId)
getSessionId
public java.lang.String getSessionId()
- Returns:
- the ID for this
Session
object
createAnnotationCollection
public java.lang.String createAnnotationCollection()
getAnnotationCollections
public java.util.Hashtable getAnnotationCollections()
getAnnotation
public Annotation getAnnotation(java.lang.String annotationId)
closeSession
public void closeSession()
- Closes the session and cleares the
documents
Hashtable
and the modules
Vector.
getModuleVector
public java.util.Vector getModuleVector()
setConfigFileName
public void setConfigFileName(java.lang.String configFileName)
getConfigFileName
public java.lang.String getConfigFileName()