JTR 5.0 API Documentation

jtr.config
Class ConfigDeserializer

java.lang.Object
  extended by jtr.config.ConfigDeserializer

public class ConfigDeserializer
extends java.lang.Object

This class is in charge of deserializing the content of the jtr.xml JTR configuration file into an object oriented representation: the TestConfig.

Since:
1.0
Version:
5.0
Author:
Francesco Russo (frusso@dev.java.net)

Constructor Summary
ConfigDeserializer(java.io.InputStream is)
          Constructor.
 
Method Summary
 TestConfig getConfigTree()
          Produces the object oriented representation of the jtr.xml configuration file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigDeserializer

public ConfigDeserializer(java.io.InputStream is)
Constructor. Requires an input stream the jtr.xml JTR configuration file should be read from.

Parameters:
is - InputStream
Method Detail

getConfigTree

public TestConfig getConfigTree()
                         throws org.xml.sax.SAXException,
                                java.io.IOException
Produces the object oriented representation of the jtr.xml configuration file.

Returns:
TestConfig
Throws:
org.xml.sax.SAXException
java.io.IOException

The JTR Project is licensed under GPL version 2