org.owasp.orizon.library
Class AbstractCore

java.lang.Object
  extended by org.owasp.orizon.O
      extended by org.owasp.orizon.library.AbstractCore
Direct Known Subclasses:
CrawlerCore, DesignCore, StatsCore

public abstract class AbstractCore
extends O

The Owasp Orizon Security Check core element

Since:
1.0pre1
Author:
thesp0nge

Field Summary
protected  java.lang.String attribute
           
protected  java.lang.String modifier
           
protected  java.lang.String name
           
protected  boolean numericValue
           
protected  Source s
           
protected  java.lang.String subj
           
protected  java.util.Vector<java.lang.String> sValue
           
protected  float value
           
protected  java.lang.String verb
           
 
Fields inherited from class org.owasp.orizon.O
base64, hasName, initialized, line_start, line_stop, log, reduced, what
 
Constructor Summary
AbstractCore(org.w3c.dom.Node n)
           
 
Method Summary
 java.lang.String getAttribute()
           
 void load(Source s)
           
protected  boolean logicalNumericEvaluation(float tocompare, float lines_of_code)
           
 void setAttribute(java.lang.String attribute)
           
abstract  boolean solve()
           
 
Methods inherited from class org.owasp.orizon.O
clone, getStartLine, getStopLine, isCompatible, isInitialized, readXmlNode, setStartLine, setStopLine, trackThis
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subj

protected java.lang.String subj

verb

protected java.lang.String verb

name

protected java.lang.String name

modifier

protected java.lang.String modifier

numericValue

protected boolean numericValue

value

protected float value

sValue

protected java.util.Vector<java.lang.String> sValue

attribute

protected java.lang.String attribute

s

protected Source s
Constructor Detail

AbstractCore

public AbstractCore(org.w3c.dom.Node n)
Method Detail

logicalNumericEvaluation

protected boolean logicalNumericEvaluation(float tocompare,
                                           float lines_of_code)

getAttribute

public java.lang.String getAttribute()

setAttribute

public void setAttribute(java.lang.String attribute)

load

public void load(Source s)

solve

public abstract boolean solve()