Package gov.nist.scap.xccdf.check

Examples of gov.nist.scap.xccdf.check.ComplexCheck


  }

  public void applySelector(String selector) {
    this.currentSelector = selector;

    ComplexCheck complexCheck = getComplexCheck();
    if (complexCheck == null) {
      for (XCCDFCheck check : getChecks()) {
        check.applySelector(selector);
      }
    } else {
      complexCheck.applySelector(selector);
    }
  }
View Full Code Here


            }

            XCCDFCheck check = RuleImpl.newCheck(document, checkType);
              addCheckingUnit(check);
            } else if (xmlObject instanceof ComplexCheckType) {
              ComplexCheck check = new ComplexCheckImpl(document, (ComplexCheckType)xmlObject);
              addCheckingUnit(check);
            }
        } while (cursor.toNextSibling());
        cursor.dispose();
  }
View Full Code Here

    checkContentRef.setHref(resultContext.resolveRelative(getXccdfResultContext()));
  }

  public void handleComplexCheckResult(ComplexCheckType data,
      ComplexCheckResult complexCheckResult) {
    ComplexCheck complexCheck = complexCheckResult.getComplexCheck();
    data.setNegate(complexCheck.isNegate());
    data.setOperator(ComplexCheckImpl.mapOperator(complexCheck.getOperator()));
  }
View Full Code Here

            }

            XCCDFCheck check = RuleImpl.newCheck(document, checkType);
              addCheckingUnit(check);
            } else if (xmlObject instanceof ComplexCheckType) {
              ComplexCheck check = new ComplexCheckImpl(document, (ComplexCheckType)xmlObject);
              addCheckingUnit(check);
            }
        } while (cursor.toNextSibling());
        cursor.dispose();
  }
View Full Code Here

TOP

Related Classes of gov.nist.scap.xccdf.check.ComplexCheck

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.