edu.uiuc.ndiipp.hubandspoke.utils.jhove
Class JhoveTransformer

java.lang.Object
  extended by edu.uiuc.ndiipp.hubandspoke.utils.jhove.JhoveTransformer
Direct Known Subclasses:
AIFFTransformer, ASCIITransformer, BytestreamTransformer, GIFTransformer, HTMLTransformer, JPGTransformer, PDFTransformer, TIFFTransformer, UTFTransformer, WAVTransformer, XMLTransformer

public abstract class JhoveTransformer
extends java.lang.Object

Manages the application of XSLTs to raw Jhove metadata to produce a JhoveResult. Higher level than the JhoveXSLapplicators; knows the specific ones it needs to use.

Author:
Howard Ding

Constructor Summary
JhoveTransformer()
           
 
Method Summary
 JhoveResult generateMetadata(java.lang.String idType, java.lang.String idValue)
          Perform the actual generation of PREMIS object and MIME-type specific metadata.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JhoveTransformer

public JhoveTransformer()
Method Detail

generateMetadata

public JhoveResult generateMetadata(java.lang.String idType,
                                    java.lang.String idValue)
                             throws javax.xml.transform.TransformerException,
                                    javax.xml.transform.TransformerConfigurationException
Perform the actual generation of PREMIS object and MIME-type specific metadata. This is the intended method for clients to use.

Parameters:
idType - PREMIS object ID type for the file
idValue - PREMIS object ID value for the file
Returns:
JhoveResult holding the metadata for the file.
Throws:
javax.xml.transform.TransformerException
javax.xml.transform.TransformerConfigurationException


Copyright 2006, University of Illinois.