org.owasp.orizon.report
Class Report

java.lang.Object
  extended by org.owasp.orizon.O
      extended by org.owasp.orizon.report.Report

public class Report
extends O


Field Summary
 
Fields inherited from class org.owasp.orizon.O
base64, hasName, initialized, line_start, line_stop, log, reduced, what
 
Constructor Summary
Report()
           
Report(java.lang.String reportName)
           
 
Method Summary
 boolean add(Reportable r)
           
 boolean addFaults(java.util.Vector<Reportable> vR)
           
protected  boolean canCreateReport()
           
 java.lang.String getBody(Formatter f)
           
 int getFaulCount()
           
 boolean getJerichoRetCode()
           
 java.lang.String getMyFileName()
           
 float getReportScore()
           
 int getScanCode()
           
 long getScanMillis()
           
 java.lang.String getSourceFileName()
           
 Stats getStats()
           
 boolean isReady()
           
 boolean readXmlNode(org.w3c.dom.Node n)
          As far from version 0.62 all items must be responsible for XML Node reading routine.
 java.lang.String report(Formatter f)
           
 void setFaults(java.util.Vector<Reportable> vR)
           
 void setJerichoRetCode(boolean code)
           
 void setScanCode(int code)
           
 void setScanMillis(long millis)
           
 void setSourceFileName(java.lang.String name)
           
 void setStats(Stats s)
           
 
Methods inherited from class org.owasp.orizon.O
clone, getStartLine, getStopLine, isCompatible, isInitialized, setStartLine, setStopLine, trackThis
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Report

public Report()

Report

public Report(java.lang.String reportName)
Method Detail

getStats

public Stats getStats()

setStats

public void setStats(Stats s)

setJerichoRetCode

public void setJerichoRetCode(boolean code)

getJerichoRetCode

public boolean getJerichoRetCode()

setFaults

public void setFaults(java.util.Vector<Reportable> vR)

addFaults

public boolean addFaults(java.util.Vector<Reportable> vR)

getFaulCount

public int getFaulCount()

setSourceFileName

public void setSourceFileName(java.lang.String name)

getSourceFileName

public java.lang.String getSourceFileName()

setScanCode

public void setScanCode(int code)

getScanCode

public int getScanCode()

setScanMillis

public void setScanMillis(long millis)

getScanMillis

public long getScanMillis()

isReady

public boolean isReady()

add

public boolean add(Reportable r)

getReportScore

public float getReportScore()

canCreateReport

protected boolean canCreateReport()

getMyFileName

public java.lang.String getMyFileName()

report

public java.lang.String report(Formatter f)

getBody

public java.lang.String getBody(Formatter f)

readXmlNode

public boolean readXmlNode(org.w3c.dom.Node n)
Description copied from class: O
As far from version 0.62 all items must be responsible for XML Node reading routine. Source class must be able to instantiate an object passing XML Node as parameter and having that code read

Specified by:
readXmlNode in class O
Parameters:
n - the node being read
Returns:
true if xml node is well formed and correctly read, or false otherwise.