|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.cactus.server.runner.XMLTransformer
Helper class that handles the transformation of the XML test results to some output format determined by a stylesheet.
| Constructor Summary | |
XMLTransformer(java.io.InputStream theStylesheet)
Constructor. |
|
| Method Summary | |
java.lang.String |
getContentType()
Returns the content type that will be produced by the XSLT stylesheet after transformation. |
void |
transform(java.io.Reader theXml,
java.io.Writer theWriter)
Performs the actual transformation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLTransformer(java.io.InputStream theStylesheet)
throws javax.xml.transform.TransformerConfigurationException
theStylesheet - The input stream for the stylesheet to use for the
transformations
javax.xml.transform.TransformerConfigurationException - if an error occurs when
creating the XSL templates| Method Detail |
public java.lang.String getContentType()
public void transform(java.io.Reader theXml,
java.io.Writer theWriter)
throws javax.xml.transform.TransformerException
theXml - The XML source to transformtheWriter - The writer to which the transformation result should be
written.
javax.xml.transform.TransformerException - if an error occurs when applying the
XSL template to the XML source
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||