public class StoreQALDXML extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
dataset |
private Document |
doc |
private List<Element> |
questions |
| Constructor and Description |
|---|
StoreQALDXML(String dataset) |
public StoreQALDXML(String dataset) throws IOException, ParserConfigurationException
public void close()
throws IOException,
TransformerFactoryConfigurationError,
TransformerException
public void close(String path, String datasetName) throws IOException, TransformerFactoryConfigurationError, TransformerException
public void write(String questionString, String queryString, Set<String> answerSet, Integer questionID) throws ParserConfigurationException, IOException
public void write(IQuestion q) throws ParserConfigurationException, IOException
Copyright © 2016–2020. All rights reserved.