edu.uiuc.ndiipp.hubandspoke.utils.jhove
Class GIFSpecificApplicator
java.lang.Object
edu.uiuc.ndiipp.hubandspoke.utils.jhove.SpecificApplicator
edu.uiuc.ndiipp.hubandspoke.utils.jhove.GIFSpecificApplicator
public class GIFSpecificApplicator
- extends SpecificApplicator
XSLApplicator for transforming raw Jhove data
from GIF 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 |
GIFSpecificApplicator
public GIFSpecificApplicator()
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.