net.sourceforge.cilib.xml
Class XMLAlgorithmFactory
java.lang.Object
net.sourceforge.cilib.xml.XMLObjectFactory
net.sourceforge.cilib.xml.XMLAlgorithmFactory
- All Implemented Interfaces:
- AlgorithmFactory
public class XMLAlgorithmFactory
- extends XMLObjectFactory
- implements AlgorithmFactory
- Author:
- Edwin Peer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLAlgorithmFactory
public XMLAlgorithmFactory()
XMLAlgorithmFactory
public XMLAlgorithmFactory(Document xmlDocument,
Element xmlAlgorithmDescription)
- Creates a new instance of XMLAlgorithmFactory.
XMLAlgorithmFactory
public XMLAlgorithmFactory(Element xmlAlgorithmDescription)
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.