net.sourceforge.cilib.xml
Class XMLProblemFactory

java.lang.Object
  extended by net.sourceforge.cilib.xml.XMLObjectFactory
      extended by net.sourceforge.cilib.xml.XMLProblemFactory
All Implemented Interfaces:
ProblemFactory

public class XMLProblemFactory
extends XMLObjectFactory
implements ProblemFactory

Author:
Edwin Peer

Constructor Summary
XMLProblemFactory()
           
XMLProblemFactory(Document xmlDocument, Element xmlProblemDescription)
          Creates a new instance of XMLProblemFactory.
XMLProblemFactory(Element xmlProblemDescription)
           
 
Method Summary
 Problem newProblem()
          Returns a newly contructed problem.
 void setProblem(Problem problem)
           
 
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

XMLProblemFactory

public XMLProblemFactory()

XMLProblemFactory

public XMLProblemFactory(Document xmlDocument,
                         Element xmlProblemDescription)
Creates a new instance of XMLProblemFactory.


XMLProblemFactory

public XMLProblemFactory(Element xmlProblemDescription)
Method Detail

newProblem

public Problem newProblem()
Description copied from interface: ProblemFactory
Returns a newly contructed problem.

Specified by:
newProblem in interface ProblemFactory
Returns:
A new Problem.

setProblem

public void setProblem(Problem problem)


Copyright © 2009 CIRG. All Rights Reserved.