edu.uiuc.ndiipp.hubandspoke.utils.jhove
Class PDFBaseApplicator
java.lang.Object
edu.uiuc.ndiipp.hubandspoke.utils.jhove.BaseApplicator
edu.uiuc.ndiipp.hubandspoke.utils.jhove.PDFBaseApplicator
public class PDFBaseApplicator
- extends BaseApplicator
BaseApplicator subclass to account for extra information
generated for PDF files.
- Author:
- Howard Ding
|
Method Summary |
org.w3c.dom.Node |
transform(org.w3c.dom.Node jhoveInput)
Actually perform the transform. |
org.w3c.dom.Node |
transform(org.w3c.dom.Node jhoveInput,
java.lang.String... parameters)
This class needed to be synchronized because is changes the javax parser
DocumentBuilderFactory from the Saxon to the Xerces implementation
and then back to Saxon before it returns. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PDFBaseApplicator
public PDFBaseApplicator()
transform
public org.w3c.dom.Node transform(org.w3c.dom.Node jhoveInput,
java.lang.String... parameters)
throws javax.xml.transform.TransformerConfigurationException,
javax.xml.transform.TransformerException
- This class needed to be synchronized because is changes the javax parser
DocumentBuilderFactory from the Saxon to the Xerces implementation
and then back to Saxon before it returns. Without the synchronization,
this property change could cause side effects in XMLBeans, which
requires the Saxon implementation of DocumentBuilderFactory.
- Parameters:
jhoveInput - The raw Jhove XML to transformparameters - Variable length. Consists of parameter-name,
parameter-value pairs of strings (so should
always be an even number) to be passed to the
stylesheet.
- Returns:
- A DOM Node containing the results of the transformation.
- Throws:
javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerException
transform
public org.w3c.dom.Node transform(org.w3c.dom.Node jhoveInput)
throws javax.xml.transform.TransformerConfigurationException,
javax.xml.transform.TransformerException
- Actually perform the transform. This is what clients will
presumably use.
- Parameters:
jhoveInput - The raw Jhove XML to transform.
- Returns:
- A DOM Node containing the results of transformation.
- Throws:
javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerException
Copyright © 2006, University of Illinois.