ca.intelliware.amakihi.fixture.util
Class ScriptToHTMLConverter

java.lang.Object
  |
  +--ca.intelliware.amakihi.fixture.util.ScriptToHTMLConverter

public class ScriptToHTMLConverter
extends java.lang.Object


Constructor Summary
ScriptToHTMLConverter(java.io.File outputFile)
           
 
Method Summary
protected  void addIndexLink(java.lang.String storyId, java.lang.String outputFileName, java.lang.String description)
           
 void convert(java.io.File inputFile)
           
protected  void convertAction(Script.Action action)
           
protected  void convertData(org.w3c.dom.Element data)
           
protected  void convertException(org.w3c.dom.Element output)
           
protected  void convertInput(org.w3c.dom.Element input)
           
protected  void convertOutput(org.w3c.dom.Element output)
           
protected  void convertScript(Script script, java.lang.String fileName, java.lang.String outputFileName)
           
protected  org.w3c.dom.Element[] getChildElementsByTagName(org.w3c.dom.Element element, java.lang.String tagName)
           
protected  boolean hasSubElements(org.w3c.dom.Element element)
           
static void main(java.lang.String[] args)
           
 void writeFooter()
           
 void writeHeader()
           
protected  void writeIndexTable(java.lang.String storyId, java.lang.String heading)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptToHTMLConverter

public ScriptToHTMLConverter(java.io.File outputFile)
                      throws java.io.IOException
Method Detail

main

public static final void main(java.lang.String[] args)

writeHeader

public void writeHeader()
                 throws java.io.IOException

writeFooter

public void writeFooter()
                 throws java.io.IOException

writeIndexTable

protected void writeIndexTable(java.lang.String storyId,
                               java.lang.String heading)
                        throws java.io.IOException

convert

public void convert(java.io.File inputFile)
             throws java.io.IOException,
                    org.xml.sax.SAXException

convertScript

protected void convertScript(Script script,
                             java.lang.String fileName,
                             java.lang.String outputFileName)
                      throws java.io.IOException

convertAction

protected void convertAction(Script.Action action)
                      throws java.io.IOException

convertInput

protected void convertInput(org.w3c.dom.Element input)
                     throws java.io.IOException

convertOutput

protected void convertOutput(org.w3c.dom.Element output)
                      throws java.io.IOException

convertException

protected void convertException(org.w3c.dom.Element output)
                         throws java.io.IOException

convertData

protected void convertData(org.w3c.dom.Element data)
                    throws java.io.IOException

hasSubElements

protected boolean hasSubElements(org.w3c.dom.Element element)

getChildElementsByTagName

protected org.w3c.dom.Element[] getChildElementsByTagName(org.w3c.dom.Element element,
                                                          java.lang.String tagName)

addIndexLink

protected void addIndexLink(java.lang.String storyId,
                            java.lang.String outputFileName,
                            java.lang.String description)


Copyright 2002 Intelliware Development. All Rights Reserved.