Class AbstractXmlSolutionImporter.XmlInputBuilder<Solution_>
- java.lang.Object
-
- ai.timefold.solver.examples.common.app.LoggingMain
-
- ai.timefold.solver.examples.common.persistence.AbstractSolutionImporter.InputBuilder
-
- ai.timefold.solver.examples.common.persistence.AbstractXmlSolutionImporter.XmlInputBuilder<Solution_>
-
- Direct Known Subclasses:
NurseRosteringImporter.NurseRosteringInputBuilder
- Enclosing class:
- AbstractXmlSolutionImporter<Solution_>
public abstract static class AbstractXmlSolutionImporter.XmlInputBuilder<Solution_> extends AbstractSolutionImporter.InputBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected org.jdom2.Documentdocumentprotected FileinputFile-
Fields inherited from class ai.timefold.solver.examples.common.app.LoggingMain
logger
-
-
Constructor Summary
Constructors Constructor Description XmlInputBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidassertElementName(org.jdom2.Element element, String name)StringgetInputId()abstract Solution_readSolution()voidsetDocument(org.jdom2.Document document)voidsetInputFile(File inputFile)
-
-
-
Field Detail
-
inputFile
protected File inputFile
-
document
protected org.jdom2.Document document
-
-
Method Detail
-
setInputFile
public void setInputFile(File inputFile)
-
setDocument
public void setDocument(org.jdom2.Document document)
-
readSolution
public abstract Solution_ readSolution() throws IOException, org.jdom2.JDOMException
- Throws:
IOExceptionorg.jdom2.JDOMException
-
getInputId
public String getInputId()
-
assertElementName
protected void assertElementName(org.jdom2.Element element, String name)
-
-