org.finra.jtaf.core.parsing
Class CommandLibraryParser

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

public class CommandLibraryParser
extends Object

The class is responsible for discovering and parsing commands.xml files from the classpath and under the project folder


Constructor Summary
CommandLibraryParser()
           
 
Method Summary
 CommandRegistry parseCommandLibraries(CommandRegistry commandRegistry, File additionalLibrarySource, MessageCollector mc)
           
 List<InvocationTarget> readLibrary(MessageCollector mc, InputStream is, String description)
           
 void setAutomationClassLoader(IAutomationClassLoader automationClassLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLibraryParser

public CommandLibraryParser()
                     throws ParserConfigurationException
Throws:
ParserConfigurationException
Method Detail

setAutomationClassLoader

public void setAutomationClassLoader(IAutomationClassLoader automationClassLoader)

parseCommandLibraries

public CommandRegistry parseCommandLibraries(CommandRegistry commandRegistry,
                                             File additionalLibrarySource,
                                             MessageCollector mc)
                                      throws NameFormatException,
                                             NameCollisionException,
                                             SAXException,
                                             IOException,
                                             ParsingException,
                                             URISyntaxException
Throws:
NameFormatException
NameCollisionException
SAXException
IOException
ParsingException
URISyntaxException

readLibrary

public final List<InvocationTarget> readLibrary(MessageCollector mc,
                                                InputStream is,
                                                String description)


Copyright © 2014. All rights reserved.