de.dfki.lt.hog
Class Session

java.lang.Object
  extended by 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)
           
 
Method Summary
 void closeSession()
          Closes the session and cleares the documents Hashtable and the modules Vector.
 java.lang.String createAnnotationCollection()
           
 Annotation getAnnotation(java.lang.String annotationId)
           
 java.util.Hashtable getAnnotationCollections()
           
 java.lang.String getConfigFileName()
           
 java.util.Vector getModuleVector()
           
 java.lang.String getSessionId()
           
 void setConfigFileName(java.lang.String configFileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 hashtable
mods - 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)
Method Detail

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()