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

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

public class TargetContext
extends LocalContext

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

Field Summary
private static TargetContext 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 TargetContext.
 
Fields inherited from class org.itc.irst.tcc.sre.data.context.LocalContext
DEFAULT_LOCAL_CONTEXT_SIZE
 
Constructor Summary
private TargetContext()
           
 
Method Summary
 Sentence filter(Sentence sent)
           
static TargetContext getInstance()
          Returns TargetContext object; only one TargetContext 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 TargetContext.


context

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

Constructor Detail

TargetContext

private TargetContext()
Method Detail

getInstance

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

Returns:
TargetContext object

filter

public Sentence filter(Sentence sent)