fiFile = new File("fiTest.fixml");
}
private void dehydrate(InputStream input, OutputStream output) throws ParserConfigurationException, SAXException, IOException {
// Create Fast Infoset SAX serializer
SAXDocumentSerializer saxDocumentSerializer = new SAXDocumentSerializer();
// Set the output stream
saxDocumentSerializer.setOutputStream(output);
// Instantiate JAXP SAX parser factory
SAXParserFactory saxParserFactory = SAXParserFactory.newInstance();
/* Set parser to be namespace aware
* Very important to do otherwise invalid FI documents will be