public class JsonHandler extends HandlerBase
HandlerBase.SynchronizedDateFormat| Constructor and Description |
|---|
JsonHandler()
Creates an JsonHandler.
|
JsonHandler(String name,
String release,
int[] date,
String note,
String rights)
Constructor for use by subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
propertyLength(Property property)
Gives the length (number of elements) of a property
|
void |
show()
Outputs minimal information about the application
|
void |
show(App app)
Outputs detailed information about the application, including configuration,
available modules and handlers, etc.
|
void |
show(Module module)
Outputs information about a Module
|
void |
show(OutputHandler handler)
Outputs information about the OutputHandler specified in the parameter
|
void |
show(RepInfo info)
Outputs the information contained in a RepInfo object
|
protected javax.json.JsonObjectBuilder |
showAESAudioMetadata(AESAudioMetadata aes)
Display the audio metadata formatted according to the AES schema.
|
protected javax.json.JsonObjectBuilder |
showAgent(Agent agent,
String label)
PRIVATE INSTANCE METHODS.
|
protected javax.json.JsonArrayBuilder |
showArray(double[] darray) |
protected javax.json.JsonArrayBuilder |
showArray(int[] iarray) |
protected javax.json.JsonArrayBuilder |
showArray(Rational[] rarray) |
protected javax.json.JsonArrayBuilder |
showArray(String[] sarray) |
protected javax.json.JsonObjectBuilder |
showArrayProperty(Property property) |
protected javax.json.JsonObjectBuilder |
showChangeHistory(NisoImageMetadata niso,
boolean bMix10) |
protected javax.json.JsonObjectBuilder |
showChecksum(Checksum checksum) |
protected javax.json.JsonObjectBuilder |
showDocument(Document document) |
void |
showFooter()
Do the final output.
|
void |
showHeader()
Do the initial output.
|
protected javax.json.JsonObjectBuilder |
showIdentifier(Identifier identifier) |
protected javax.json.JsonObjectBuilder |
showListProperty(Property property) |
protected javax.json.JsonObjectBuilder |
showMapProperty(Property property) |
protected javax.json.JsonObjectBuilder |
showMessage(Message message) |
protected javax.json.JsonObjectBuilder |
showNisoBasicDigitalObjectInformation(NisoImageMetadata niso,
boolean bMix10) |
protected javax.json.JsonObjectBuilder |
showNisoBasicImageInformation(NisoImageMetadata niso,
boolean bMix10) |
protected javax.json.JsonObjectBuilder |
showNisoImageAssessmentMetadata(NisoImageMetadata niso,
boolean bMix10) |
protected javax.json.JsonObjectBuilder |
showNisoImageCaptureMetadata(NisoImageMetadata niso,
boolean bMix10) |
protected javax.json.JsonObjectBuilder |
showNisoImageMetadata(NisoImageMetadata niso)
Display the NISO image metadata formatted according to the MIX schema.
|
protected javax.json.JsonObjectBuilder |
showNisoImageMetadata(NisoImageMetadata niso,
boolean bMix10)
Display the NISO image metadata formatted according to the MIX 1.0 schema.
|
protected javax.json.JsonObjectBuilder |
showProperty(Property property) |
protected javax.json.JsonArrayBuilder |
showRational(Rational r) |
protected javax.json.JsonObjectBuilder |
showScalarProperty(Property property) |
protected javax.json.JsonObjectBuilder |
showSetProperty(Property property) |
protected javax.json.JsonObjectBuilder |
showSignature(Signature signature) |
protected javax.json.JsonObjectBuilder |
showTextMDMetadata(TextMDMetadata textMD) |
protected String |
valueToString(Object obj) |
analyze, applyDefaultParams, close, doctype, doctype, doubleArray, element, element, element, element, elementEnd, elementStart, elementStart, endDirectory, getDate, getEncoding, getIndent, getName, getNote, getRelease, getRights, getSpecification, getVendor, init, integerArray, integerArray, longArray, okToProcess, param, rationalArray, rationalArray10, reset, resetParams, setApp, setBase, setDefaultParams, setEncoding, setWriter, startDirectory, toDateTime, xmlDecl, xmlDeclpublic void show()
show in interface OutputHandlershow in class HandlerBasepublic void show(App app)
show in interface OutputHandlershow in class HandlerBasepublic void show(OutputHandler handler)
show in interface OutputHandlershow in class HandlerBasepublic void show(Module module)
show in interface OutputHandlershow in class HandlerBasepublic void show(RepInfo info)
show in interface OutputHandlershow in class HandlerBaseprotected javax.json.JsonObjectBuilder showAgent(Agent agent, String label)
protected javax.json.JsonObjectBuilder showChecksum(Checksum checksum)
protected javax.json.JsonObjectBuilder showDocument(Document document)
public void showFooter()
showFooter in interface OutputHandlershowFooter in class HandlerBasepublic void showHeader()
showHeader in interface OutputHandlershowHeader in class HandlerBaseprotected javax.json.JsonObjectBuilder showIdentifier(Identifier identifier)
protected javax.json.JsonObjectBuilder showMessage(Message message)
protected javax.json.JsonObjectBuilder showSignature(Signature signature)
protected javax.json.JsonObjectBuilder showProperty(Property property)
protected javax.json.JsonObjectBuilder showScalarProperty(Property property)
protected javax.json.JsonObjectBuilder showListProperty(Property property)
protected javax.json.JsonObjectBuilder showSetProperty(Property property)
protected javax.json.JsonObjectBuilder showMapProperty(Property property)
protected int propertyLength(Property property)
protected javax.json.JsonObjectBuilder showArrayProperty(Property property)
protected javax.json.JsonObjectBuilder showTextMDMetadata(TextMDMetadata textMD)
protected javax.json.JsonObjectBuilder showNisoImageMetadata(NisoImageMetadata niso)
niso - NISO image metadataprotected javax.json.JsonObjectBuilder showNisoImageMetadata(NisoImageMetadata niso, boolean bMix10)
protected javax.json.JsonObjectBuilder showNisoBasicDigitalObjectInformation(NisoImageMetadata niso, boolean bMix10)
protected javax.json.JsonObjectBuilder showNisoBasicImageInformation(NisoImageMetadata niso, boolean bMix10)
protected javax.json.JsonObjectBuilder showNisoImageCaptureMetadata(NisoImageMetadata niso, boolean bMix10)
protected javax.json.JsonObjectBuilder showNisoImageAssessmentMetadata(NisoImageMetadata niso, boolean bMix10)
protected javax.json.JsonObjectBuilder showChangeHistory(NisoImageMetadata niso, boolean bMix10)
protected javax.json.JsonObjectBuilder showAESAudioMetadata(AESAudioMetadata aes)
aes - AES audio metadataprotected javax.json.JsonArrayBuilder showArray(int[] iarray)
protected javax.json.JsonArrayBuilder showArray(double[] darray)
protected javax.json.JsonArrayBuilder showArray(String[] sarray)
protected javax.json.JsonArrayBuilder showArray(Rational[] rarray)
protected javax.json.JsonArrayBuilder showRational(Rational r)
Copyright © 2008–2021 The Open Preservation Foundation. All rights reserved.