de.stz.bt.fnd
Class FND_DataPointFactory

java.lang.Object
  extended byde.stz.bt.fnd.FND_DataPointFactory

public class FND_DataPointFactory
extends java.lang.Object

Factory that creates initialized datapoint objects

Version:
$Id: FND_DataPointFactory.html,v 1.3 2004/11/08 08:10:45 jseitter Exp $
Author:
J. Seitter

Field Summary
private static FND_DataPointFactory _instance
           
private  FND_DataPointContext context
           
private  org.apache.log4j.Logger logger
           
 
Constructor Summary
(package private) FND_DataPointFactory()
           
 
Method Summary
 void createDataPointFromDatagram(FND_Datagram dgram)
          This method adds the datapoint to the List if it was not seen before.
 void createDataPointfromXML(org.jdom.Element datapoint)
          create a datapoint from a given config.xml fragment
 FND_DataPointContext getContext()
           
static FND_DataPointFactory getInstance()
           
 void setContext(FND_DataPointContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_instance

private static FND_DataPointFactory _instance

logger

private org.apache.log4j.Logger logger

context

private FND_DataPointContext context
Constructor Detail

FND_DataPointFactory

FND_DataPointFactory()
Method Detail

getInstance

public static FND_DataPointFactory getInstance()
Returns:
The unique instance of this class.

createDataPointfromXML

public void createDataPointfromXML(org.jdom.Element datapoint)
create a datapoint from a given config.xml fragment


createDataPointFromDatagram

public void createDataPointFromDatagram(FND_Datagram dgram)
This method adds the datapoint to the List if it was not seen before. //TODO: remove this DoS Vector BE CAREFUL: This is a denial of service attack vector and should be restricted in later versions


getContext

public FND_DataPointContext getContext()

setContext

public void setContext(FND_DataPointContext context)