Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
Job2XMLTransformer() |
Modifier and Type | Method and Description |
---|---|
void |
job2xmlFile(TaskFlowJob job,
File f)
Serializes the given job as xml and writes it to a file.
|
InputStream |
jobToxml(TaskFlowJob job)
Creates the xml representation of the job in argument
|
String |
jobToxmlString(TaskFlowJob job)
Creates the xml representation of the job in argument
|
public InputStream jobToxml(TaskFlowJob job) throws TransformerException, ParserConfigurationException
public String jobToxmlString(TaskFlowJob job) throws TransformerException, ParserConfigurationException, IOException
public void job2xmlFile(TaskFlowJob job, File f) throws ParserConfigurationException, TransformerException, IOException
job
- TaskFlowJob to be serializedf
- The file where the xml will be writtenParserConfigurationException
TransformerException
IOException