org.owasp.orizon.library
Class DesignCore

java.lang.Object
  extended by org.owasp.orizon.O
      extended by org.owasp.orizon.library.AbstractCore
          extended by org.owasp.orizon.library.DesignCore

public class DesignCore
extends AbstractCore

The <design> security check. Here the check grammar must be evaluated.

Since:
1.0pre1
Author:
thesp0nge

Field Summary
 
Fields inherited from class org.owasp.orizon.library.AbstractCore
attribute, modifier, name, numericValue, s, subj, sValue, value, verb
 
Fields inherited from class org.owasp.orizon.O
base64, hasName, initialized, line_start, line_stop, log, reduced, what
 
Constructor Summary
DesignCore(org.w3c.dom.Node n)
           
 
Method Summary
 boolean readXmlNode(org.w3c.dom.Node n)
          As far from version 0.62 all items must be responsible for XML Node reading routine.
 boolean solve()
          Solves the security check.
 
Methods inherited from class org.owasp.orizon.library.AbstractCore
getAttribute, load, logicalNumericEvaluation, setAttribute
 
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

DesignCore

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

solve

public boolean solve()
Solves the security check.

Specified by:
solve in class AbstractCore
Returns:
true if the check is not satisfied and there is no a security issue, or false otherwise.

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.