com.neotys.nl.controller.report.transform
Class NeoLoadReportDoc

java.lang.Object
  extended by com.neotys.nl.controller.report.transform.NeoLoadReportDoc

public class NeoLoadReportDoc
extends Object

A wrapper for an xml document.

Author:
ajohnson

Constructor Summary
NeoLoadReportDoc(Document doc)
           
NeoLoadReportDoc(String xmlFilePath)
          Constructor.
 
Method Summary
 Float getAverageResponseTime()
           
 Document getDoc()
           
 Float getErrorRatePercentage()
           
 boolean isNewerThan(Calendar calBuildTime)
           
 boolean isValidReportDoc()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NeoLoadReportDoc

public NeoLoadReportDoc(String xmlFilePath)
Constructor.

Parameters:
xmlFilePath -

NeoLoadReportDoc

public NeoLoadReportDoc(Document doc)
Method Detail

isValidReportDoc

public boolean isValidReportDoc()
                         throws XPathExpressionException
Returns:
true if this is a valid NeoLoad report document. false otherwise.
Throws:
XPathExpressionException

getAverageResponseTime

public Float getAverageResponseTime()
                             throws XPathExpressionException
Returns:
Throws:
XPathExpressionException

getErrorRatePercentage

public Float getErrorRatePercentage()
                             throws XPathExpressionException
Returns:
Throws:
XPathExpressionException

getDoc

public Document getDoc()
Returns:
the doc

isNewerThan

public boolean isNewerThan(Calendar calBuildTime)
                    throws XPathExpressionException
Parameters:
cal -
Returns:
Throws:
XPathExpressionException


Copyright © 2004-2013. All Rights Reserved.