org.owasp.orizon.report
Class Report
java.lang.Object
org.owasp.orizon.O
org.owasp.orizon.report.Report
public class Report
- extends O
Constructor Summary |
Report()
|
Report(java.lang.String reportName)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Report
public Report()
Report
public Report(java.lang.String reportName)
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.