org.itc.irst.tcc.sre.data.context
Class AgentContext

java.lang.Object
  extended by org.itc.irst.tcc.sre.data.context.LocalContext
      extended by org.itc.irst.tcc.sre.data.context.AgentContext
All Implemented Interfaces:
SentenceFilter

public class AgentContext
extends LocalContext

Since:
1.0
Version:
%I%, %G%
Author:
Claudio Giuliano

Field Summary
private static AgentContext context
          A prototype for a global context such that only one instance class can ever exist.
(package private) static org.apache.log4j.Logger logger
          Define a static logger variable so that it references the Logger instance named AgentContext.
 
Fields inherited from class org.itc.irst.tcc.sre.data.context.LocalContext
DEFAULT_LOCAL_CONTEXT_SIZE
 
Constructor Summary
private AgentContext()
           
 
Method Summary
 Sentence filter(Sentence sent)
           
static AgentContext getInstance()
          Returns AgentContext object; only one AgentContext instance can exist.
 
Methods inherited from class org.itc.irst.tcc.sre.data.context.LocalContext
getSize, setSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

static org.apache.log4j.Logger logger
Define a static logger variable so that it references the Logger instance named AgentContext.


context

private static AgentContext context
A prototype for a global context such that only one instance class can ever exist.

Constructor Detail

AgentContext

private AgentContext()
Method Detail

getInstance

public static AgentContext getInstance()
Returns AgentContext object; only one AgentContext instance can exist.

Returns:
AgentContext object

filter

public Sentence filter(Sentence sent)