ImmobiliareItDocument extends XmlConvertableDocument<Feed, ImmobiliareItVersion> { public static ImmobiliareItDocument newDocument() throws ParserConfigurationException, JAXBException { return newDocument(ImmobiliareItUtils.getFactory().createFeed()); } ImmobiliareItDocument(Document document); @Override ImmobiliareItVersion getDocumentVersion(); @Override ImmobiliareItVersion getLatestVersion(); static boolean isReadable(Document doc); static ImmobiliareItDocument newDocument(); static ImmobiliareItDocument newDocument(Feed feed); @Override void setDocumentVersion(ImmobiliareItVersion version); @Override Feed toObject();  }
@Test @Ignore @SuppressWarnings("Duplicates") public void testToXml() { Feed feed = ImmobiliareItUtils.getFactory().createFeed(); try { ImmobiliareItDocument doc = ImmobiliareItDocument.newDocument(feed); String xml = doc.toXmlString(true); LOGGER.info("XML: " + xml); } catch (Exception ex) { LOGGER.error("Test of ImmobiliareItDocument.toXml failed!"); LOGGER.error("> " + ex.getLocalizedMessage(), ex); Assert.fail("Test of ImmobiliareItDocument.toXml failed!"); } }