org.aitools.programd.graph
Class NodemapperFactory

java.lang.Object
  extended by org.aitools.programd.graph.NodemapperFactory

public class NodemapperFactory
extends java.lang.Object

Produces Nodemappers based on the classname that is configured in the CoreSettings.

Author:
Noel Bush

Field Summary
private static java.lang.Object[] args
          An empty argument set to be passed when constructing a Nodemapper.
private  java.lang.Class<? extends Nodemapper> nodemapperClass
          The actual implementation of Nodemapper to create.
private  java.lang.String nodemapperClassname
          The classname of the implementation of Nodemapper that will be produced.
 
Constructor Summary
NodemapperFactory(java.lang.String classname)
          Creates a new NodemapperFactory that is configured to create instances of the Nodemapper subclass classname.
 
Method Summary
 Nodemapper getNodemapper()
          Returns a new Nodemapper.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodemapperClassname

private java.lang.String nodemapperClassname
The classname of the implementation of Nodemapper that will be produced.


nodemapperClass

private java.lang.Class<? extends Nodemapper> nodemapperClass
The actual implementation of Nodemapper to create.


args

private static final java.lang.Object[] args
An empty argument set to be passed when constructing a Nodemapper.

Constructor Detail

NodemapperFactory

public NodemapperFactory(java.lang.String classname)
Creates a new NodemapperFactory that is configured to create instances of the Nodemapper subclass classname.

Parameters:
classname -
Method Detail

getNodemapper

public Nodemapper getNodemapper()
Returns a new Nodemapper.

Returns:
a new Nodemapper