UTF-X, Unit Testing Framework - Xslt

utfx.runner
Class TDFRenderer

java.lang.Object
  extended by utfx.runner.TDFRenderer

public class TDFRenderer
extends java.lang.Object

Test Definition File renderer. This class generates HTML rendition from TDFs.

Copyright © 2005 Jacek Radajewski and others.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License v2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

$Source: /cvs/utf-x/framework/src/java/utfx/runner/TDFRenderer.java,v $

Version:
$Revision: 1.1 $ $Date: 2005/11/14 23:18:47 $ $Name: release_0_0_8_alpha $
Author:
Jacek Radajewski

Field Summary
private  javax.xml.parsers.DocumentBuilder db
           
private  javax.xml.parsers.DocumentBuilderFactory dbf
           
private  org.w3c.dom.DOMConfiguration domConfig
          DOM Configuration object
private  org.w3c.dom.ls.DOMImplementationLS domImplLS
          DOM Load/Save implementation
private  org.w3c.dom.bootstrap.DOMImplementationRegistry domRegistry
          DOM3 implementation registry
private  org.w3c.dom.ls.LSSerializer domSerializer
          DOM Load/Save serializer
private  java.lang.String linkElement
           
private  org.apache.log4j.Logger log
           
private  javax.xml.xpath.XPath xpath
           
private  javax.xml.xpath.XPathFactory xpf
           
 
Constructor Summary
TDFRenderer()
           
 
Method Summary
private  void generateHTML(org.w3c.dom.Element expected, java.lang.String filename)
           
static void main(java.lang.String[] args)
           
private  void processDocument(java.lang.String filename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private org.apache.log4j.Logger log

dbf

private javax.xml.parsers.DocumentBuilderFactory dbf

db

private javax.xml.parsers.DocumentBuilder db

xpf

private javax.xml.xpath.XPathFactory xpf

xpath

private javax.xml.xpath.XPath xpath

domRegistry

private org.w3c.dom.bootstrap.DOMImplementationRegistry domRegistry
DOM3 implementation registry


domImplLS

private org.w3c.dom.ls.DOMImplementationLS domImplLS
DOM Load/Save implementation


domSerializer

private org.w3c.dom.ls.LSSerializer domSerializer
DOM Load/Save serializer


domConfig

private org.w3c.dom.DOMConfiguration domConfig
DOM Configuration object


linkElement

private java.lang.String linkElement
Constructor Detail

TDFRenderer

public TDFRenderer()
            throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

processDocument

private void processDocument(java.lang.String filename)
                      throws java.lang.Exception
Parameters:
doc -
Throws:
java.lang.Exception

generateHTML

private void generateHTML(org.w3c.dom.Element expected,
                          java.lang.String filename)
                   throws java.lang.Exception
Parameters:
expected -
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Parameters:
args -
Throws:
java.lang.Exception

UTF-X, Unit Testing Framework - Xslt