org.owasp.orizon.jericho
Class Jericho

java.lang.Object
  extended by org.owasp.orizon.O
      extended by org.owasp.orizon.jericho.Jericho

public class Jericho
extends O

This is Jericho main engine class

Since:
0.53.1
Author:
sp0nge

Field Summary
 
Fields inherited from class org.owasp.orizon.O
base64, hasName, initialized, line_start, line_stop, log, reduced, what
 
Constructor Summary
Jericho(Source s)
           
 
Method Summary
static int getChecksCount()
           
static java.lang.String getLibraryContent()
           
 Report getReport()
           
 boolean readXmlNode(org.w3c.dom.Node n)
          As far from version 0.62 all items must be responsible for XML Node reading routine.
 boolean review()
          Review the code for security issues.
 void setProperties(java.util.HashMap<java.lang.String,java.lang.String> p)
           
 
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

Jericho

public Jericho(Source s)
Method Detail

setProperties

public void setProperties(java.util.HashMap<java.lang.String,java.lang.String> p)

getLibraryContent

public static java.lang.String getLibraryContent()

getChecksCount

public static int getChecksCount()

review

public boolean review()
Review the code for security issues.

Returns:
true if the file being reviewed doesn't violate any security check, false otherwise.

getReport

public Report getReport()

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.