org.finra.jtaf.core.parsing
Class ScriptParser

java.lang.Object
  extended by org.finra.jtaf.core.parsing.ScriptParser

public class ScriptParser
extends Object

FIXME This is a "just get the job done" implementation. I plan to replace this class as soon as I get the chance. (I mean... ay ay ay! This is bad!)


Constructor Summary
ScriptParser()
           
 
Method Summary
 TestNamespace handleTestSource(File f, MessageCollector mc)
           
 TestScript processTestScript(Element elem, MessageCollector mc)
           
 TestSuite processTestSuite(Element element, MessageCollector mc, String fileName)
           
 void setCommandRegistry(CommandRegistry commandRegistry)
           
 void setDigraph(TestDigraph digraph)
           
 void setPostParseSuitePlugins(List<IPostParseSuitePlugin> plugins)
           
 void setPostParseTestPlugins(List<IPostParseTestPlugin> plugins)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptParser

public ScriptParser()
             throws ParserConfigurationException
Throws:
ParserConfigurationException
Method Detail

setDigraph

public void setDigraph(TestDigraph digraph)

setPostParseSuitePlugins

public void setPostParseSuitePlugins(List<IPostParseSuitePlugin> plugins)

setPostParseTestPlugins

public void setPostParseTestPlugins(List<IPostParseTestPlugin> plugins)

setCommandRegistry

public void setCommandRegistry(CommandRegistry commandRegistry)

handleTestSource

public final TestNamespace handleTestSource(File f,
                                            MessageCollector mc)
                                     throws NameFormatException,
                                            SAXException,
                                            IOException,
                                            ParsingException
Throws:
NameFormatException
SAXException
IOException
ParsingException

processTestSuite

public final TestSuite processTestSuite(Element element,
                                        MessageCollector mc,
                                        String fileName)
                                 throws ParsingException,
                                        NameFormatException
Throws:
ParsingException
NameFormatException

processTestScript

public final TestScript processTestScript(Element elem,
                                          MessageCollector mc)
                                   throws ParsingException
Throws:
ParsingException


Copyright © 2014. All rights reserved.