public class XmlHandler extends HandlerBase
HandlerBase.SynchronizedDateFormat
Constructor and Description |
---|
XmlHandler()
Creates an XmlHandler.
|
XmlHandler(String name,
String release,
int[] date,
String note,
String rights)
Constructor for use by subclasses.
|
Modifier and Type | Method and Description |
---|---|
void |
rationalToString(StringBuffer buf,
String tag,
String margin,
Rational r)
Appends a Rational value to a StringBuffer
|
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 void |
showAESAudioMetadata(AESAudioMetadata aes)
Display the audio metadata formatted according to
the AES schema.
|
protected void |
showAgent(Agent agent,
String label)
PRIVATE INSTANCE METHODS.
|
protected void |
showArrayProperty(Property property,
String margin) |
protected void |
showChangeHistory10(NisoImageMetadata niso,
String margin) |
protected void |
showChangeHistory20(NisoImageMetadata niso,
String margin) |
protected void |
showChecksum(Checksum checksum) |
protected void |
showDocument(Document document) |
void |
showFooter()
Do the final output.
|
void |
showHeader()
Do the initial output.
|
protected void |
showIdentifier(Identifier identifier) |
protected void |
showMessage(Message message) |
protected void |
showNisoBasicDigitalObjectInformation10(NisoImageMetadata niso,
String margin) |
protected void |
showNisoBasicDigitalObjectInformation20(NisoImageMetadata niso,
String margin) |
protected void |
showNisoBasicImageInformation10(NisoImageMetadata niso,
String margin) |
protected void |
showNisoBasicImageInformation20(NisoImageMetadata niso,
String margin) |
protected void |
showNisoBasicImageParameters02(NisoImageMetadata niso,
String margin) |
protected void |
showNisoChangeHistory02(NisoImageMetadata niso,
String margin) |
protected void |
showNisoImageAssessmentMetadata10(NisoImageMetadata niso,
String margin) |
protected void |
showNisoImageAssessmentMetadata20(NisoImageMetadata niso,
String margin) |
protected void |
showNisoImageCaptureMetadata10(NisoImageMetadata niso,
String margin) |
protected void |
showNisoImageCaptureMetadata20(NisoImageMetadata niso,
String margin) |
protected void |
showNisoImageCreation02(NisoImageMetadata niso,
String margin) |
protected void |
showNisoImageMetadata(NisoImageMetadata niso)
Display the NISO image metadata formatted according to
the MIX schema.
|
protected void |
showNisoImageMetadata02(NisoImageMetadata niso)
Display the NISO image metadata formatted according to
the MIX 0.2 schema.
|
protected void |
showNisoImageMetadata10(NisoImageMetadata niso)
Display the NISO image metadata formatted according to
the MIX 1.0 schema.
|
protected void |
showNisoImageMetadata20(NisoImageMetadata niso)
Display the NISO image metadata formatted according to
the MIX 2.0 schema.
|
protected void |
showNisoImagingPerformanceAssessment02(NisoImageMetadata niso,
String margin) |
protected void |
showProperty(Property property) |
protected void |
showSignature(Signature signature) |
protected void |
showTextMDMetadata(TextMDMetadata textMD)
Display the text metadata formatted according to
the textMD schema (see http://www.loc.gov/standards/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, xmlDecl
public void show()
show
in interface OutputHandler
show
in class HandlerBase
public void show(App app)
show
in interface OutputHandler
show
in class HandlerBase
public void show(OutputHandler handler)
show
in interface OutputHandler
show
in class HandlerBase
public void show(Module module)
show
in interface OutputHandler
show
in class HandlerBase
public void show(RepInfo info)
show
in interface OutputHandler
show
in class HandlerBase
protected void showChecksum(Checksum checksum)
protected void showDocument(Document document)
public void showFooter()
showFooter
in interface OutputHandler
showFooter
in class HandlerBase
public void showHeader()
showHeader
in interface OutputHandler
showHeader
in class HandlerBase
protected void showIdentifier(Identifier identifier)
protected void showMessage(Message message)
protected void showSignature(Signature signature)
protected void showProperty(Property property)
protected void showTextMDMetadata(TextMDMetadata textMD)
textMD
- textMD text metadataprotected void showNisoImageMetadata(NisoImageMetadata niso)
niso
- NISO image metadataprotected void showNisoImageMetadata02(NisoImageMetadata niso)
protected void showNisoBasicImageParameters02(NisoImageMetadata niso, String margin)
protected void showNisoImageCreation02(NisoImageMetadata niso, String margin)
protected void showNisoImagingPerformanceAssessment02(NisoImageMetadata niso, String margin)
protected void showNisoChangeHistory02(NisoImageMetadata niso, String margin)
protected void showNisoImageMetadata10(NisoImageMetadata niso)
protected void showNisoBasicDigitalObjectInformation10(NisoImageMetadata niso, String margin)
protected void showNisoBasicImageInformation10(NisoImageMetadata niso, String margin)
protected void showNisoImageCaptureMetadata10(NisoImageMetadata niso, String margin)
protected void showNisoImageAssessmentMetadata10(NisoImageMetadata niso, String margin)
protected void showChangeHistory10(NisoImageMetadata niso, String margin)
protected void showNisoImageMetadata20(NisoImageMetadata niso)
protected void showNisoBasicDigitalObjectInformation20(NisoImageMetadata niso, String margin)
protected void showNisoBasicImageInformation20(NisoImageMetadata niso, String margin)
protected void showNisoImageCaptureMetadata20(NisoImageMetadata niso, String margin)
protected void showNisoImageAssessmentMetadata20(NisoImageMetadata niso, String margin)
protected void showChangeHistory20(NisoImageMetadata niso, String margin)
protected void showAESAudioMetadata(AESAudioMetadata aes)
aes
- AES audio metadatapublic void rationalToString(StringBuffer buf, String tag, String margin, Rational r)
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.