net.sourceforge.cilib.xml
Class XMLAlgorithmFactory

java.lang.Object
  extended by net.sourceforge.cilib.xml.XMLObjectFactory
      extended by net.sourceforge.cilib.xml.XMLAlgorithmFactory
All Implemented Interfaces:
AlgorithmFactory

public class XMLAlgorithmFactory
extends XMLObjectFactory
implements AlgorithmFactory

Author:
Edwin Peer

Constructor Summary
XMLAlgorithmFactory()
           
XMLAlgorithmFactory(Document xmlDocument, Element xmlAlgorithmDescription)
          Creates a new instance of XMLAlgorithmFactory.
XMLAlgorithmFactory(Element xmlAlgorithmDescription)
           
 
Method Summary
 Algorithm newAlgorithm()
          Returns a newly constructed algorithm.
 void setAlgorithm(Algorithm algorithm)
           
 
Methods inherited from class net.sourceforge.cilib.xml.XMLObjectFactory
error, newObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLAlgorithmFactory

public XMLAlgorithmFactory()

XMLAlgorithmFactory

public XMLAlgorithmFactory(Document xmlDocument,
                           Element xmlAlgorithmDescription)
Creates a new instance of XMLAlgorithmFactory.


XMLAlgorithmFactory

public XMLAlgorithmFactory(Element xmlAlgorithmDescription)
Method Detail

newAlgorithm

public Algorithm newAlgorithm()
Returns a newly constructed algorithm.

Specified by:
newAlgorithm in interface AlgorithmFactory
Returns:
A new Algorithm.

setAlgorithm

public void setAlgorithm(Algorithm algorithm)


Copyright © 2009 CIRG. All Rights Reserved.