public class StoreQALDXML extends Object
| Modifier and Type | Field and Description |
|---|---|
private Dataset |
dataset |
private Document |
doc |
private List<Element> |
questions |
| Constructor and Description |
|---|
StoreQALDXML(Dataset dataset) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static void |
main(String[] args) |
void |
write(String questionString,
String queryString,
Set<String> answerSet,
Integer questionID) |
public StoreQALDXML(Dataset dataset) throws IOException, ParserConfigurationException
public static void main(String[] args) throws IOException, ParserConfigurationException, TransformerFactoryConfigurationError, TransformerException
public void close()
throws IOException,
TransformerFactoryConfigurationError,
TransformerException
public void write(String questionString, String queryString, Set<String> answerSet, Integer questionID) throws ParserConfigurationException, IOException
Copyright © 2016. All rights reserved.