@Test public void testShowNisoExifMetadata20() throws IOException { File mix20File = new File(this.getClass().getResource("exif_mix20.xml") .getPath()); LOGGER.info("testShowNisoExifMetadata20 with file " + mix20File); assertTrue(mix20File.isFile()); String expectedMix20 = readXmlFile(mix20File); this.handler.showNisoImageMetadata20(TEST_NISO_EXIF_MD); this.handler.close(); String generatedMix = readXmlFile(outputFile); assertEquals("Exif Mix v2.0 generated not conformant", expectedMix20, generatedMix); }
protected void showNisoImageMetadata20(NisoImageMetadata niso) { String margin = getIndent(++_level); String[][] attrs = { { "xmlns:mix", "http: { "xmlns:xsi", "http: { "xsi:schemaLocation", "http: _writer.println(margin + elementStart("mix:mix", attrs)); showNisoBasicDigitalObjectInformation20(niso, margin); showNisoBasicImageInformation20(niso, margin); showNisoImageCaptureMetadata20(niso, margin); showNisoImageAssessmentMetadata20(niso, margin); showChangeHistory20(niso, margin); _writer.println(margin + elementEnd("mix:mix")); _level--; }
XmlHandler extends edu.harvard.hul.ois.jhove.HandlerBase { protected void showNisoImageMetadata20(NisoImageMetadata niso) { String margin = getIndent(++_level); String[][] attrs = { { "xmlns:mix", "http: { "xmlns:xsi", "http: { "xsi:schemaLocation", "http: _writer.println(margin + elementStart("mix:mix", attrs)); showNisoBasicDigitalObjectInformation20(niso, margin); showNisoBasicImageInformation20(niso, margin); showNisoImageCaptureMetadata20(niso, margin); showNisoImageAssessmentMetadata20(niso, margin); showChangeHistory20(niso, margin); _writer.println(margin + elementEnd("mix:mix")); _level--; } }
XmlHandler extends edu.harvard.hul.ois.jhove.HandlerBase { protected void showNisoImageMetadata20(NisoImageMetadata niso) { String margin = getIndent(++_level); String[][] attrs = { { "xmlns:mix", "http: { "xmlns:xsi", "http: { "xsi:schemaLocation", "http: _writer.println(margin + elementStart("mix:mix", attrs)); showNisoBasicDigitalObjectInformation20(niso, margin); showNisoBasicImageInformation20(niso, margin); showNisoImageCaptureMetadata20(niso, margin); showNisoImageAssessmentMetadata20(niso, margin); showChangeHistory20(niso, margin); _writer.println(margin + elementEnd("mix:mix")); _level--; } XmlHandler();  XmlHandler(String name, String release, int[] date, String note,
			String rights); }
XmlHandler extends edu.harvard.hul.ois.jhove.HandlerBase { protected void showNisoImageMetadata20(NisoImageMetadata niso) { String margin = getIndent(++_level); String[][] attrs = { { "xmlns:mix", "http: { "xmlns:xsi", "http: { "xsi:schemaLocation", "http: _writer.println(margin + elementStart("mix:mix", attrs)); showNisoBasicDigitalObjectInformation20(niso, margin); showNisoBasicImageInformation20(niso, margin); showNisoImageCaptureMetadata20(niso, margin); showNisoImageAssessmentMetadata20(niso, margin); showChangeHistory20(niso, margin); _writer.println(margin + elementEnd("mix:mix")); _level--; } XmlHandler();  XmlHandler(String name, String release, int[] date, String note,
			String rights); @Override void show(); @Override void show(App app); @Override void show(OutputHandler handler); @Override void show(Module module); @Override void show(RepInfo info); @Override void showFooter(); @Override void showHeader(); void rationalToString(StringBuffer buf, String tag, String margin,
			Rational r); }
XmlHandler extends edu.harvard.hul.ois.jhove.HandlerBase { protected void showNisoImageMetadata20(NisoImageMetadata niso) { String margin = getIndent(++_level); String[][] attrs = { { "xmlns:mix", "http: { "xmlns:xsi", "http: { "xsi:schemaLocation", "http: _writer.println(margin + elementStart("mix:mix", attrs)); showNisoBasicDigitalObjectInformation20(niso, margin); showNisoBasicImageInformation20(niso, margin); showNisoImageCaptureMetadata20(niso, margin); showNisoImageAssessmentMetadata20(niso, margin); showChangeHistory20(niso, margin); _writer.println(margin + elementEnd("mix:mix")); _level--; } XmlHandler();  XmlHandler(String name, String release, int[] date, String note,
			String rights); @Override void show(); @Override void show(App app); @Override void show(OutputHandler handler); @Override void show(Module module); @Override void show(RepInfo info); @Override void showFooter(); @Override void showHeader(); void rationalToString(StringBuffer buf, String tag, String margin,
			Rational r);  }