org.drools.planner.examples.common.persistence
Class AbstractXmlSolutionExporter

java.lang.Object
  extended by org.drools.planner.examples.common.app.LoggingMain
      extended by org.drools.planner.examples.common.persistence.AbstractSolutionExporter
          extended by org.drools.planner.examples.common.persistence.AbstractXmlSolutionExporter
Direct Known Subclasses:
NurseRosteringSolutionExporter

public abstract class AbstractXmlSolutionExporter
extends AbstractSolutionExporter


Nested Class Summary
 class AbstractXmlSolutionExporter.XmlOutputBuilder
           
 
Field Summary
protected static String DEFAULT_OUTPUT_FILE_SUFFIX
           
 
Fields inherited from class org.drools.planner.examples.common.persistence.AbstractSolutionExporter
solutionDao
 
Fields inherited from class org.drools.planner.examples.common.app.LoggingMain
DEFAULT_LOGGING_CONFIG, logger
 
Constructor Summary
protected AbstractXmlSolutionExporter(SolutionDao solutionDao)
           
 
Method Summary
abstract  AbstractXmlSolutionExporter.XmlOutputBuilder createXmlOutputBuilder()
           
protected  String getOutputFileSuffix()
           
 void writeSolution(Solution solution, File outputFile)
           
 
Methods inherited from class org.drools.planner.examples.common.persistence.AbstractSolutionExporter
convertAll, getInputDir, getInputFileSuffix, getOutputDir
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_OUTPUT_FILE_SUFFIX

protected static final String DEFAULT_OUTPUT_FILE_SUFFIX
See Also:
Constant Field Values
Constructor Detail

AbstractXmlSolutionExporter

protected AbstractXmlSolutionExporter(SolutionDao solutionDao)
Method Detail

getOutputFileSuffix

protected String getOutputFileSuffix()
Specified by:
getOutputFileSuffix in class AbstractSolutionExporter

createXmlOutputBuilder

public abstract AbstractXmlSolutionExporter.XmlOutputBuilder createXmlOutputBuilder()

writeSolution

public void writeSolution(Solution solution,
                          File outputFile)
Specified by:
writeSolution in class AbstractSolutionExporter


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.