test_class.declarator: LOGGER = Logger.getLogger(JsonHandlerTest.class
  			.getName())
test_class.modifier: private static final
test_class.original_string: private static final Logger LOGGER = Logger.getLogger(JsonHandlerTest.class
  			.getName());
test_class.type: Logger
test_class.var_name: LOGGER
test_class.declarator: TIME_PATTERN = "\"[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\+[0-9]{2}:[0-9]{2})?\""
test_class.modifier: private static final
test_class.original_string: private static final String TIME_PATTERN = "\"[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\+[0-9]{2}:[0-9]{2})?\"";
test_class.type: String
test_class.var_name: TIME_PATTERN
test_class.declarator: DATE_PATTERN = "\"date\":\"[^\"]+\""
test_class.modifier: private static final
test_class.original_string: private static final String DATE_PATTERN = "\"date\":\"[^\"]+\"";
test_class.type: String
test_class.var_name: DATE_PATTERN
test_class.declarator: DATE_REPLACEMENT = "\"date\":\"2010-01-01\""
test_class.modifier: private static final
test_class.original_string: private static final String DATE_REPLACEMENT = "\"date\":\"2010-01-01\"";
test_class.type: String
test_class.var_name: DATE_REPLACEMENT
test_class.declarator: RELEASE_PATTERN = "\"release\":\"[^\"]+\""
test_class.modifier: private static final
test_class.original_string: private static final String RELEASE_PATTERN = "\"release\":\"[^\"]+\"";
test_class.type: String
test_class.var_name: RELEASE_PATTERN
test_class.declarator: RELEASE_REPLACEMENT = "\"release\":\"DUMMY\""
test_class.modifier: private static final
test_class.original_string: private static final String RELEASE_REPLACEMENT = "\"release\":\"DUMMY\"";
test_class.type: String
test_class.var_name: RELEASE_REPLACEMENT
test_class.declarator: DIR_PATTERN = "\"tempDirectory\":\"[^\"]+\""
test_class.modifier: private static final
test_class.original_string: private static final String DIR_PATTERN = "\"tempDirectory\":\"[^\"]+\"";
test_class.type: String
test_class.var_name: DIR_PATTERN
test_class.declarator: DIR_REPLACEMENT = "\"tempDirectory\":\"DUMMY\""
test_class.modifier: private static final
test_class.original_string: private static final String DIR_REPLACEMENT = "\"tempDirectory\":\"DUMMY\"";
test_class.type: String
test_class.var_name: DIR_REPLACEMENT
test_class.declarator: CONF_PATTERN = "\"configuration\":\"[^\"]+\""
test_class.modifier: private static final
test_class.original_string: private static final String CONF_PATTERN = "\"configuration\":\"[^\"]+\"";
test_class.type: String
test_class.var_name: CONF_PATTERN
test_class.declarator: CONF_REPLACEMENT = "\"configuration\":\"DUMMY\""
test_class.modifier: private static final
test_class.original_string: private static final String CONF_REPLACEMENT = "\"configuration\":\"DUMMY\"";
test_class.type: String
test_class.var_name: CONF_REPLACEMENT
test_class.declarator: RIGHTS_PATTERN = "\"rights\":\"[^\"]+\""
test_class.modifier: private static final
test_class.original_string: private static final String RIGHTS_PATTERN = "\"rights\":\"[^\"]+\"";
test_class.type: String
test_class.var_name: RIGHTS_PATTERN
test_class.declarator: RIGHTS_REPLACEMENT = "\"rights\":\"DUMMY\""
test_class.modifier: private static final
test_class.original_string: private static final String RIGHTS_REPLACEMENT = "\"rights\":\"DUMMY\"";
test_class.type: String
test_class.var_name: RIGHTS_REPLACEMENT
test_class.declarator: VENDOR_PATTERN = "\"vendor\":\\{[^\\}]+\\}"
test_class.modifier: private static final
test_class.original_string: private static final String VENDOR_PATTERN = "\"vendor\":\\{[^\\}]+\\}";
test_class.type: String
test_class.var_name: VENDOR_PATTERN
test_class.declarator: VENDOR_REPLACEMENT = "\"vendor\":{\"kind\":\"Vendor\"}"
test_class.modifier: private static final
test_class.original_string: private static final String VENDOR_REPLACEMENT = "\"vendor\":{\"kind\":\"Vendor\"}";
test_class.type: String
test_class.var_name: VENDOR_REPLACEMENT
test_class.declarator: DUMMY = "\"DUMMY\""
test_class.modifier: private static final
test_class.original_string: private static final String DUMMY = "\"DUMMY\"";
test_class.type: String
test_class.var_name: DUMMY
test_class.declarator: DUMMY_CK = "8747e564eb53cb2f1dcb9aae0779c2aa"
test_class.modifier: private static final
test_class.original_string: private static final String DUMMY_CK = "8747e564eb53cb2f1dcb9aae0779c2aa";
test_class.type: String
test_class.var_name: DUMMY_CK
test_class.declarator: APP_JSON = 
  			"\"name\":\"TEST\",\"release\":\"DUMMY\",\"date\":\"2010-01-01\",\"executionTime\":\"DUMMY\""
test_class.modifier: private static final
test_class.original_string: private static final String APP_JSON = 
  			"\"name\":\"TEST\",\"release\":\"DUMMY\",\"date\":\"2010-01-01\",\"executionTime\":\"DUMMY\"";
test_class.type: String
test_class.var_name: APP_JSON
test_class.declarator: API_JSON = 
  			"\"app\":{\"api\":{\"version\":\"1.0\",\"date\":\"2010-01-01\"}," +
  			"\"configuration\":\"DUMMY\",\"jhoveHome\":\"TEST\",\"encoding\":\"utf-8\",\"tempDirectory\":\"DUMMY\"," +
  		    "\"bufferSize\":131072,\"modules\":[{\"module\":\"BYTESTREAM\",\"release\":\"DUMMY\"}]," +
  		    "\"outputHandlers\":[{\"outputHandler\":\"Audit\",\"release\":\"DUMMY\"}," +
  		    "{\"outputHandler\":\"JSON\",\"release\":\"DUMMY\"},{\"outputHandler\":\"TEXT\",\"release\":\"DUMMY\"}," +
  		    "{\"outputHandler\":\"XML\",\"release\":\"DUMMY\"}],\"usage\":\"usage\",\"rights\":\"DUMMY\"}"
test_class.modifier: private static final
test_class.original_string: private static final String API_JSON = 
  			"\"app\":{\"api\":{\"version\":\"1.0\",\"date\":\"2010-01-01\"}," +
  			"\"configuration\":\"DUMMY\",\"jhoveHome\":\"TEST\",\"encoding\":\"utf-8\",\"tempDirectory\":\"DUMMY\"," +
  		    "\"bufferSize\":131072,\"modules\":[{\"module\":\"BYTESTREAM\",\"release\":\"DUMMY\"}]," +
  		    "\"outputHandlers\":[{\"outputHandler\":\"Audit\",\"release\":\"DUMMY\"}," +
  		    "{\"outputHandler\":\"JSON\",\"release\":\"DUMMY\"},{\"outputHandler\":\"TEXT\",\"release\":\"DUMMY\"}," +
  		    "{\"outputHandler\":\"XML\",\"release\":\"DUMMY\"}],\"usage\":\"usage\",\"rights\":\"DUMMY\"}";
test_class.type: String
test_class.var_name: API_JSON
test_class.declarator: HANDLER_JSON = 
  			"\"handler\":{\"name\":\"JSON\",\"release\":\"DUMMY\",\"date\":\"2010-01-01\"," +
  			"\"vendor\":{\"kind\":\"Vendor\",\"name\":\"Bibliothèque nationale de France\",\"type\":\"Educational\"," +
  			"\"web\":\"http://www.bnf.fr\"},\"note\":\"\"," +
  			"\"rights\":\"DUMMY\"}"
test_class.modifier: private static final
test_class.original_string: private static final String HANDLER_JSON = 
  			"\"handler\":{\"name\":\"JSON\",\"release\":\"DUMMY\",\"date\":\"2010-01-01\"," +
  			"\"vendor\":{\"kind\":\"Vendor\",\"name\":\"Bibliothèque nationale de France\",\"type\":\"Educational\"," +
  			"\"web\":\"http://www.bnf.fr\"},\"note\":\"\"," +
  			"\"rights\":\"DUMMY\"}";
test_class.type: String
test_class.var_name: HANDLER_JSON
test_class.declarator: MODULE_JSON = 
  			"\"module\":{\"name\":\"BYTESTREAM\",\"release\":\"DUMMY\",\"date\":\"2010-01-01\"," +
  			"\"formats\":[\"bytestream\"],\"mimeTypes\":[\"application/octet-stream\"]," +
  			"\"features\":[\"edu.harvard.hul.ois.jhove.canValidate\",\"edu.harvard.hul.ois.jhove.canCharacterize\"]," +
  			"\"methodology\":{\"wellFormed\":\"All bytestreams are well-formed\"}," +
  			"\"vendor\":{\"kind\":\"Vendor\"}," +
  			"\"note\":\"This is the default format\",\"rights\":\"DUMMY\"}"
test_class.modifier: private static final
test_class.original_string: private static final String MODULE_JSON = 
  			"\"module\":{\"name\":\"BYTESTREAM\",\"release\":\"DUMMY\",\"date\":\"2010-01-01\"," +
  			"\"formats\":[\"bytestream\"],\"mimeTypes\":[\"application/octet-stream\"]," +
  			"\"features\":[\"edu.harvard.hul.ois.jhove.canValidate\",\"edu.harvard.hul.ois.jhove.canCharacterize\"]," +
  			"\"methodology\":{\"wellFormed\":\"All bytestreams are well-formed\"}," +
  			"\"vendor\":{\"kind\":\"Vendor\"}," +
  			"\"note\":\"This is the default format\",\"rights\":\"DUMMY\"}";
test_class.type: String
test_class.var_name: MODULE_JSON
test_class.declarator: INFO_JSON =
  			"\"repInfo\":{\"uri\":\"file://dummy.file\"," +
  		    "\"reportingModule\":{\"name\":\"BYTESTREAM\",\"release\":\"DUMMY\",\"date\":\"2010-01-01\"}," +
  		    "\"size\":1,\"format\":\"bytestream\",\"status\":\"Well-Formed and valid\",\"sigMatch\":[\"BYTESTREAM\"]," +
  		    "\"mimeType\":\"application/octet-stream\",\"properties\":[{\"checksum\":\"" +
  		    DUMMY_CK + "\",\"type\":\"MD5\"}]}"
test_class.modifier: private static final
test_class.original_string: private static final String INFO_JSON =
  			"\"repInfo\":{\"uri\":\"file://dummy.file\"," +
  		    "\"reportingModule\":{\"name\":\"BYTESTREAM\",\"release\":\"DUMMY\",\"date\":\"2010-01-01\"}," +
  		    "\"size\":1,\"format\":\"bytestream\",\"status\":\"Well-Formed and valid\",\"sigMatch\":[\"BYTESTREAM\"]," +
  		    "\"mimeType\":\"application/octet-stream\",\"properties\":[{\"checksum\":\"" +
  		    DUMMY_CK + "\",\"type\":\"MD5\"}]}";
test_class.type: String
test_class.var_name: INFO_JSON
test_class.declarator: FIND = "Find: "
test_class.modifier: private static final
test_class.original_string: private static final String FIND = "Find: ";
test_class.type: String
test_class.var_name: FIND
test_class.declarator: mockApp
test_class.modifier: private static
test_class.original_string: private static App mockApp;
test_class.type: App
test_class.var_name: mockApp
test_class.declarator: je
test_class.modifier: private static
test_class.original_string: private static JhoveBase je;
test_class.type: JhoveBase
test_class.var_name: je
test_class.declarator: outputFile
test_class.modifier: private
test_class.original_string: private File outputFile;
test_class.type: File
test_class.var_name: outputFile
test_class.declarator: outString
test_class.modifier: private
test_class.original_string: private StringWriter outString;
test_class.type: StringWriter
test_class.var_name: outString
test_class.declarator: writer
test_class.modifier: private
test_class.original_string: private PrintWriter writer;
test_class.type: PrintWriter
test_class.var_name: writer
test_class.declarator: handler
test_class.modifier: private
test_class.original_string: private JsonHandler handler;
test_class.type: JsonHandler
test_class.var_name: handler
test_class.file: jhove-core/src/test/java/edu/harvard/hul/ois/jhove/handler/JsonHandlerTest.java
test_class.identifier: JsonHandlerTest
test_case.body: @Test
  	public void testShowAESAudioMetadata() throws IOException {
  		final AESAudioMetadata aes = new AESAudioMetadata();
  		aes.setFormat("audio/wav");
  	
  		JsonObjectBuilder b = this.handler.showAESAudioMetadata(aes);
  		buildJson(b);
          handler.close();
          
  		String result = outString.toString();
  		LOGGER.info(FIND + result);
  		final String expected = "{\"aes:schemaVersion\":\"1.02b\",\"aes:format\":\"audio/wav\"," +
  				"\"aes:face\":{\"aes:timeline\":{\"tcf:startTime\":{\"tcf:frameCount\":30,\"tcf:timeBase\":1000," +
  				"\"tcf:videoField\":\"FIELD_1\",\"tcf:countingMode\":\"NTSC_NON_DROP_FRAME\",\"tcf:hours\":0," +
  				"\"tcf:minutes\":0,\"tcf:seconds\":0,\"tcf:frames\":0," +
  				"\"tcf:samples\":{\"tcf:sampleRate\":\"S44100\",\"tcf:numberOfSamples\":0}," +
  				"\"tcf:filmFraming\":{\"tcf:framing\":\"NOT_APPLICABLE\",\"tcf:framingType\":\"tcf:ntscFilmFramingType\"}}}," +
  				"\"aes:streams\":[]}}";
  
  	    assertEquals(expected, result);
  	}
test_case.class_method_signature: JsonHandlerTest.testShowAESAudioMetadata()
test_case.full_signature: @Test public void testShowAESAudioMetadata()
test_case.identifier: testShowAESAudioMetadata
test_case.invocations: setFormat showAESAudioMetadata buildJson close toString info assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testShowAESAudioMetadata()
focal_class.declarator: NAME = "JSON"
focal_class.modifier: private static final
focal_class.original_string: private static final String NAME = "JSON";
focal_class.type: String
focal_class.var_name: NAME
focal_class.declarator: RELEASE = "1.0"
focal_class.modifier: private static final
focal_class.original_string: private static final String RELEASE = "1.0";
focal_class.type: String
focal_class.var_name: RELEASE
focal_class.declarator: DATE = { 2019, 10, 18 }
focal_class.modifier: private static final
focal_class.original_string: private static final int[] DATE = { 2019, 10, 18 };
focal_class.type: int[]
focal_class.var_name: DATE
focal_class.declarator: NOTE = ""
focal_class.modifier: private static final
focal_class.original_string: private static final String NOTE = "";
focal_class.type: String
focal_class.var_name: NOTE
focal_class.declarator: RIGHTS = "Version 1.0 release by Open Preservation Foundation. "
  			+ "Released under the GNU Lesser General Public License."
focal_class.modifier: private static final
focal_class.original_string: private static final String RIGHTS = "Version 1.0 release by Open Preservation Foundation. "
  			+ "Released under the GNU Lesser General Public License.";
focal_class.type: String
focal_class.var_name: RIGHTS
focal_class.declarator: jhoveBuilder
focal_class.modifier: private
focal_class.original_string: private JsonObjectBuilder jhoveBuilder;
focal_class.type: JsonObjectBuilder
focal_class.var_name: jhoveBuilder
focal_class.declarator: _sampleRate
focal_class.modifier: private
focal_class.original_string: private double _sampleRate;
focal_class.type: double
focal_class.var_name: _sampleRate
focal_class.file: jhove-core/src/main/java/edu/harvard/hul/ois/jhove/handler/JsonHandler.java
focal_class.identifier: JsonHandler
focal_class.class_method_signature: JsonHandler.JsonHandler()
focal_class.full_signature: public  JsonHandler()
focal_class.identifier: JsonHandler
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  JsonHandler()
focal_class.class_method_signature: JsonHandler.JsonHandler(String name, String release, int[] date, String note, String rights)
focal_class.full_signature: public  JsonHandler(String name, String release, int[] date, String note, String rights)
focal_class.identifier: JsonHandler
focal_class.modifiers: public
focal_class.parameters: (String name, String release, int[] date, String note, String rights)
focal_class.signature:  JsonHandler(String name, String release, int[] date, String note, String rights)
focal_class.class_method_signature: JsonHandler.show()
focal_class.full_signature: @Override public void show()
focal_class.identifier: show
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void show()
focal_class.class_method_signature: JsonHandler.show(App app)
focal_class.full_signature: @Override public void show(App app)
focal_class.identifier: show
focal_class.modifiers: @Override public
focal_class.parameters: (App app)
focal_class.return: void
focal_class.signature: void show(App app)
focal_class.class_method_signature: JsonHandler.show(OutputHandler handler)
focal_class.full_signature: @Override public void show(OutputHandler handler)
focal_class.identifier: show
focal_class.modifiers: @Override public
focal_class.parameters: (OutputHandler handler)
focal_class.return: void
focal_class.signature: void show(OutputHandler handler)
focal_class.class_method_signature: JsonHandler.show(Module module)
focal_class.full_signature: @Override public void show(Module module)
focal_class.identifier: show
focal_class.modifiers: @Override public
focal_class.parameters: (Module module)
focal_class.return: void
focal_class.signature: void show(Module module)
focal_class.class_method_signature: JsonHandler.show(RepInfo info)
focal_class.full_signature: @Override public void show(RepInfo info)
focal_class.identifier: show
focal_class.modifiers: @Override public
focal_class.parameters: (RepInfo info)
focal_class.return: void
focal_class.signature: void show(RepInfo info)
focal_class.class_method_signature: JsonHandler.showAgent(Agent agent, String label)
focal_class.full_signature: protected JsonObjectBuilder showAgent(Agent agent, String label)
focal_class.identifier: showAgent
focal_class.modifiers: protected
focal_class.parameters: (Agent agent, String label)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showAgent(Agent agent, String label)
focal_class.class_method_signature: JsonHandler.showChecksum(Checksum checksum)
focal_class.full_signature: protected JsonObjectBuilder showChecksum(Checksum checksum)
focal_class.identifier: showChecksum
focal_class.modifiers: protected
focal_class.parameters: (Checksum checksum)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showChecksum(Checksum checksum)
focal_class.class_method_signature: JsonHandler.showDocument(Document document)
focal_class.full_signature: protected JsonObjectBuilder showDocument(Document document)
focal_class.identifier: showDocument
focal_class.modifiers: protected
focal_class.parameters: (Document document)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showDocument(Document document)
focal_class.class_method_signature: JsonHandler.showFooter()
focal_class.full_signature: @Override public void showFooter()
focal_class.identifier: showFooter
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void showFooter()
focal_class.class_method_signature: JsonHandler.showHeader()
focal_class.full_signature: @Override public void showHeader()
focal_class.identifier: showHeader
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void showHeader()
focal_class.class_method_signature: JsonHandler.showIdentifier(Identifier identifier)
focal_class.full_signature: protected JsonObjectBuilder showIdentifier(Identifier identifier)
focal_class.identifier: showIdentifier
focal_class.modifiers: protected
focal_class.parameters: (Identifier identifier)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showIdentifier(Identifier identifier)
focal_class.class_method_signature: JsonHandler.showMessage(Message message)
focal_class.full_signature: protected JsonObjectBuilder showMessage(Message message)
focal_class.identifier: showMessage
focal_class.modifiers: protected
focal_class.parameters: (Message message)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showMessage(Message message)
focal_class.class_method_signature: JsonHandler.showSignature(Signature signature)
focal_class.full_signature: protected JsonObjectBuilder showSignature(Signature signature)
focal_class.identifier: showSignature
focal_class.modifiers: protected
focal_class.parameters: (Signature signature)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showSignature(Signature signature)
focal_class.class_method_signature: JsonHandler.valueToString(Object obj)
focal_class.full_signature: protected String valueToString(Object obj)
focal_class.identifier: valueToString
focal_class.modifiers: protected
focal_class.parameters: (Object obj)
focal_class.return: String
focal_class.signature: String valueToString(Object obj)
focal_class.class_method_signature: JsonHandler.showProperty(Property property)
focal_class.full_signature: protected JsonObjectBuilder showProperty(Property property)
focal_class.identifier: showProperty
focal_class.modifiers: protected
focal_class.parameters: (Property property)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showProperty(Property property)
focal_class.class_method_signature: JsonHandler.showScalarProperty(Property property)
focal_class.full_signature: protected JsonObjectBuilder showScalarProperty(Property property)
focal_class.identifier: showScalarProperty
focal_class.modifiers: protected
focal_class.parameters: (Property property)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showScalarProperty(Property property)
focal_class.class_method_signature: JsonHandler.showListProperty(Property property)
focal_class.full_signature: protected JsonObjectBuilder showListProperty(Property property)
focal_class.identifier: showListProperty
focal_class.modifiers: protected
focal_class.parameters: (Property property)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showListProperty(Property property)
focal_class.class_method_signature: JsonHandler.showSetProperty(Property property)
focal_class.full_signature: protected JsonObjectBuilder showSetProperty(Property property)
focal_class.identifier: showSetProperty
focal_class.modifiers: protected
focal_class.parameters: (Property property)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showSetProperty(Property property)
focal_class.class_method_signature: JsonHandler.showMapProperty(Property property)
focal_class.full_signature: protected JsonObjectBuilder showMapProperty(Property property)
focal_class.identifier: showMapProperty
focal_class.modifiers: protected
focal_class.parameters: (Property property)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showMapProperty(Property property)
focal_class.class_method_signature: JsonHandler.propertyLength(Property property)
focal_class.full_signature: protected int propertyLength(Property property)
focal_class.identifier: propertyLength
focal_class.modifiers: protected
focal_class.parameters: (Property property)
focal_class.return: int
focal_class.signature: int propertyLength(Property property)
focal_class.class_method_signature: JsonHandler.showArrayProperty(Property property)
focal_class.full_signature: protected JsonObjectBuilder showArrayProperty(Property property)
focal_class.identifier: showArrayProperty
focal_class.modifiers: protected
focal_class.parameters: (Property property)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showArrayProperty(Property property)
focal_class.class_method_signature: JsonHandler.showTextMDMetadata(TextMDMetadata textMD)
focal_class.full_signature: protected JsonObjectBuilder showTextMDMetadata(TextMDMetadata textMD)
focal_class.identifier: showTextMDMetadata
focal_class.modifiers: protected
focal_class.parameters: (TextMDMetadata textMD)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showTextMDMetadata(TextMDMetadata textMD)
focal_class.class_method_signature: JsonHandler.showNisoImageMetadata(NisoImageMetadata niso)
focal_class.full_signature: protected JsonObjectBuilder showNisoImageMetadata(NisoImageMetadata niso)
focal_class.identifier: showNisoImageMetadata
focal_class.modifiers: protected
focal_class.parameters: (NisoImageMetadata niso)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showNisoImageMetadata(NisoImageMetadata niso)
focal_class.class_method_signature: JsonHandler.showNisoImageMetadata(NisoImageMetadata niso, boolean bMix10)
focal_class.full_signature: protected JsonObjectBuilder showNisoImageMetadata(NisoImageMetadata niso, boolean bMix10)
focal_class.identifier: showNisoImageMetadata
focal_class.modifiers: protected
focal_class.parameters: (NisoImageMetadata niso, boolean bMix10)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showNisoImageMetadata(NisoImageMetadata niso, boolean bMix10)
focal_class.class_method_signature: JsonHandler.showNisoBasicDigitalObjectInformation(NisoImageMetadata niso, boolean bMix10)
focal_class.full_signature: protected JsonObjectBuilder showNisoBasicDigitalObjectInformation(NisoImageMetadata niso, boolean bMix10)
focal_class.identifier: showNisoBasicDigitalObjectInformation
focal_class.modifiers: protected
focal_class.parameters: (NisoImageMetadata niso, boolean bMix10)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showNisoBasicDigitalObjectInformation(NisoImageMetadata niso, boolean bMix10)
focal_class.class_method_signature: JsonHandler.showNisoBasicImageInformation(NisoImageMetadata niso, boolean bMix10)
focal_class.full_signature: protected JsonObjectBuilder showNisoBasicImageInformation(NisoImageMetadata niso, boolean bMix10)
focal_class.identifier: showNisoBasicImageInformation
focal_class.modifiers: protected
focal_class.parameters: (NisoImageMetadata niso, boolean bMix10)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showNisoBasicImageInformation(NisoImageMetadata niso, boolean bMix10)
focal_class.class_method_signature: JsonHandler.showNisoImageCaptureMetadata(NisoImageMetadata niso, boolean bMix10)
focal_class.full_signature: protected JsonObjectBuilder showNisoImageCaptureMetadata(NisoImageMetadata niso, boolean bMix10)
focal_class.identifier: showNisoImageCaptureMetadata
focal_class.modifiers: protected
focal_class.parameters: (NisoImageMetadata niso, boolean bMix10)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showNisoImageCaptureMetadata(NisoImageMetadata niso, boolean bMix10)
focal_class.class_method_signature: JsonHandler.showNisoImageAssessmentMetadata(NisoImageMetadata niso, boolean bMix10)
focal_class.full_signature: protected JsonObjectBuilder showNisoImageAssessmentMetadata(NisoImageMetadata niso, boolean bMix10)
focal_class.identifier: showNisoImageAssessmentMetadata
focal_class.modifiers: protected
focal_class.parameters: (NisoImageMetadata niso, boolean bMix10)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showNisoImageAssessmentMetadata(NisoImageMetadata niso, boolean bMix10)
focal_class.class_method_signature: JsonHandler.showChangeHistory(NisoImageMetadata niso, boolean bMix10)
focal_class.full_signature: protected JsonObjectBuilder showChangeHistory(NisoImageMetadata niso, boolean bMix10)
focal_class.identifier: showChangeHistory
focal_class.modifiers: protected
focal_class.parameters: (NisoImageMetadata niso, boolean bMix10)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showChangeHistory(NisoImageMetadata niso, boolean bMix10)
focal_class.class_method_signature: JsonHandler.meteringModeToString(int n)
focal_class.full_signature: private String meteringModeToString(int n)
focal_class.identifier: meteringModeToString
focal_class.modifiers: private
focal_class.parameters: (int n)
focal_class.return: String
focal_class.signature: String meteringModeToString(int n)
focal_class.class_method_signature: JsonHandler.photometricInterpretationToString(int n)
focal_class.full_signature: private String photometricInterpretationToString(int n)
focal_class.identifier: photometricInterpretationToString
focal_class.modifiers: private
focal_class.parameters: (int n)
focal_class.return: String
focal_class.signature: String photometricInterpretationToString(int n)
focal_class.class_method_signature: JsonHandler.compressionSchemeToString(int n)
focal_class.full_signature: private String compressionSchemeToString(int n)
focal_class.identifier: compressionSchemeToString
focal_class.modifiers: private
focal_class.parameters: (int n)
focal_class.return: String
focal_class.signature: String compressionSchemeToString(int n)
focal_class.class_method_signature: JsonHandler.showAESAudioMetadata(AESAudioMetadata aes)
focal_class.full_signature: protected JsonObjectBuilder showAESAudioMetadata(AESAudioMetadata aes)
focal_class.identifier: showAESAudioMetadata
focal_class.modifiers: protected
focal_class.parameters: (AESAudioMetadata aes)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder showAESAudioMetadata(AESAudioMetadata aes)
focal_class.class_method_signature: JsonHandler.writeAESTimeRange(AESAudioMetadata.TimeDesc start, AESAudioMetadata.TimeDesc duration)
focal_class.full_signature: private JsonObjectBuilder writeAESTimeRange(AESAudioMetadata.TimeDesc start, AESAudioMetadata.TimeDesc duration)
focal_class.identifier: writeAESTimeRange
focal_class.modifiers: private
focal_class.parameters: (AESAudioMetadata.TimeDesc start, AESAudioMetadata.TimeDesc duration)
focal_class.return: JsonObjectBuilder
focal_class.signature: JsonObjectBuilder writeAESTimeRange(AESAudioMetadata.TimeDesc start, AESAudioMetadata.TimeDesc duration)
focal_class.class_method_signature: JsonHandler.showArray(int[] iarray)
focal_class.full_signature: protected JsonArrayBuilder showArray(int[] iarray)
focal_class.identifier: showArray
focal_class.modifiers: protected
focal_class.parameters: (int[] iarray)
focal_class.return: JsonArrayBuilder
focal_class.signature: JsonArrayBuilder showArray(int[] iarray)
focal_class.class_method_signature: JsonHandler.showArray(double[] darray)
focal_class.full_signature: protected JsonArrayBuilder showArray(double[] darray)
focal_class.identifier: showArray
focal_class.modifiers: protected
focal_class.parameters: (double[] darray)
focal_class.return: JsonArrayBuilder
focal_class.signature: JsonArrayBuilder showArray(double[] darray)
focal_class.class_method_signature: JsonHandler.showArray(String[] sarray)
focal_class.full_signature: protected JsonArrayBuilder showArray(String[] sarray)
focal_class.identifier: showArray
focal_class.modifiers: protected
focal_class.parameters: (String[] sarray)
focal_class.return: JsonArrayBuilder
focal_class.signature: JsonArrayBuilder showArray(String[] sarray)
focal_class.class_method_signature: JsonHandler.showArray(Rational[] rarray)
focal_class.full_signature: protected JsonArrayBuilder showArray(Rational[] rarray)
focal_class.identifier: showArray
focal_class.modifiers: protected
focal_class.parameters: (Rational[] rarray)
focal_class.return: JsonArrayBuilder
focal_class.signature: JsonArrayBuilder showArray(Rational[] rarray)
focal_class.class_method_signature: JsonHandler.showRational(Rational r)
focal_class.full_signature: protected JsonArrayBuilder showRational(Rational r)
focal_class.identifier: showRational
focal_class.modifiers: protected
focal_class.parameters: (Rational r)
focal_class.return: JsonArrayBuilder
focal_class.signature: JsonArrayBuilder showRational(Rational r)
focal_class.superclass: extends HandlerBase
focal_method.body: protected JsonObjectBuilder showAESAudioMetadata(AESAudioMetadata aes) {
  		JsonObjectBuilder aesBuilder = Json.createObjectBuilder();
  
  		_sampleRate = aes.getSampleRate();
  
  		String s = aes.getAnalogDigitalFlag();
  		if (s != null) {
  			aesBuilder.add("aes:analogDigitalFlag", s);
  		}
  		s = aes.getSchemaVersion();
  		if (s != null) {
  			aesBuilder.add("aes:schemaVersion", s);
  		}
  		s = aes.getFormat();
  		if (s != null) {
  			aesBuilder.add("aes:format", s);
  		}
  		s = aes.getSpecificationVersion();
  		if (s != null) {
  			aesBuilder.add("aes:specificationVersion", s);
  		}
  		s = aes.getAppSpecificData();
  		if (s != null) {
  			aesBuilder.add("aes:appSpecificData", s);
  		}
  		s = aes.getAudioDataEncoding();
  		if (s != null) {
  			aesBuilder.add("aes:audioDataEncoding", s);
  		}
  		int in = aes.getByteOrder();
  		if (in != AESAudioMetadata.NULL) {
  			aesBuilder.add("aes:byteOrder", (in == AESAudioMetadata.BIG_ENDIAN ? "BIG_ENDIAN" : "LITTLE_ENDIAN"));
  		}
  		long lin = aes.getFirstSampleOffset();
  		if (lin != AESAudioMetadata.NULL) {
  			aesBuilder.add("aes:firstSampleOffset", lin);
  		}
  		String[] use = aes.getUse();
  		if (use != null) {
  			aesBuilder.add("aes:use",
  					Json.createObjectBuilder().add("aes:useType", use[0]).add("aes:otherType", use[1]));
  		}
  		s = aes.getPrimaryIdentifier();
  		if (s != null) {
  			String t = aes.getPrimaryIdentifierType();
  			aesBuilder.add("aes:primaryIdentifier", s);
  			if (t != null) {
  				aesBuilder.add("aes:primaryIdentifierType", t);
  			}
  		}
  		List<AESAudioMetadata.Face> facelist = aes.getFaceList();
  		if (facelist != null && !facelist.isEmpty()) {
  			// Add the face information, which is mostly filler.
  			AESAudioMetadata.Face f = facelist.get(0);
  			JsonObjectBuilder faceBuilder = Json.createObjectBuilder();
  
  			AESAudioMetadata.TimeDesc startTime = f.getStartTime();
  			if (startTime != null) {
  				faceBuilder.add("aes:timeline", writeAESTimeRange(startTime, f.getDuration()));
  			}
  			int nchan = aes.getNumChannels();
  			if (nchan != AESAudioMetadata.NULL) {
  				faceBuilder.add("aes:numChannels", nchan);
  			}
  			String[] locs = aes.getMapLocations();
  			JsonArrayBuilder streamsBuilder = Json.createArrayBuilder();
  			for (int ch = 0; ch < nchan; ch++) {
  				// write a stream description for each channel
  				streamsBuilder
  						.add(Json.createObjectBuilder().add("aes:channelNum", ch).add("aes:mapLocation", locs[ch]));
  			}
  			faceBuilder.add("aes:streams", streamsBuilder);
  			aesBuilder.add("aes:face", faceBuilder);
  		}
  
  		// In the general case, a FormatList can contain multiple
  		// FormatRegions. This doesn't happen with any of the current
  		// modules; if it's needed in the future, simply set up an
  		// iteration loop on formatList.
  		List<AESAudioMetadata.FormatRegion> flist = aes.getFormatList();
  		if (flist != null && !flist.isEmpty()) {
  			AESAudioMetadata.FormatRegion rgn = flist.get(0);
  			int bitDepth = rgn.getBitDepth();
  			double sampleRate = rgn.getSampleRate();
  			int wordSize = rgn.getWordSize();
  			String[] bitRed = rgn.getBitrateReduction();
  			// Build a FormatRegion subtree if at least one piece of data
  			// that goes into it is present.
  			JsonArrayBuilder formatListBuilder = Json.createArrayBuilder();
  			JsonObjectBuilder formatRegionBuilder = Json.createObjectBuilder();
  			if (bitDepth != AESAudioMetadata.NULL || sampleRate != AESAudioMetadata.NILL
  					|| wordSize != AESAudioMetadata.NULL) {
  				if (bitDepth != AESAudioMetadata.NULL) {
  					formatRegionBuilder.add("aes:bitDepth", bitDepth);
  				}
  				if (sampleRate != AESAudioMetadata.NILL) {
  					formatRegionBuilder.add("aes:sampleRate", sampleRate);
  				}
  				if (wordSize != AESAudioMetadata.NULL) {
  					formatRegionBuilder.add("aes:wordSize", wordSize);
  				}
  				if (bitRed != null) {
  					formatRegionBuilder.add("aes:bitrateReduction", Json.createObjectBuilder()
  							.add("aes:codecName", bitRed[0]).add("aes:codecNameVersion", bitRed[1])
  							.add("aes:codecCreatorApplication", bitRed[2])
  							.add("aes:codecCreatorApplicationVersion", bitRed[3]).add("aes:codecQuality", bitRed[4])
  							.add("aes:dataRate", bitRed[5]).add("aes:dataRateMode", bitRed[6]));
  				}
  
  				formatListBuilder.add(formatRegionBuilder);
  				aesBuilder.add("aes:formatList", formatListBuilder);
  			}
  		}
  		return aesBuilder;
  	}
focal_method.class_method_signature: JsonHandler.showAESAudioMetadata(AESAudioMetadata aes)
focal_method.full_signature: protected JsonObjectBuilder showAESAudioMetadata(AESAudioMetadata aes)
focal_method.identifier: showAESAudioMetadata
focal_method.invocations: createObjectBuilder getSampleRate getAnalogDigitalFlag add getSchemaVersion add getFormat add getSpecificationVersion add getAppSpecificData add getAudioDataEncoding add getByteOrder add getFirstSampleOffset add getUse add add add createObjectBuilder getPrimaryIdentifier getPrimaryIdentifierType add add getFaceList isEmpty get createObjectBuilder getStartTime add writeAESTimeRange getDuration getNumChannels add getMapLocations createArrayBuilder add add add createObjectBuilder add add getFormatList isEmpty get getBitDepth getSampleRate getWordSize getBitrateReduction createArrayBuilder createObjectBuilder add add add add add add add add add add add createObjectBuilder add add
focal_method.modifiers: protected
focal_method.parameters: (AESAudioMetadata aes)
focal_method.return: JsonObjectBuilder
focal_method.signature: JsonObjectBuilder showAESAudioMetadata(AESAudioMetadata aes)