Package gov.nist.scap.xccdf.check

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


            XmlObject xmlObject = cursor.getObject();
            if (xmlObject instanceof CheckType) {
              CheckType checkType = (CheckType)xmlObject;

            if (checkType.isSetCheckContent()) {
              throw new ComplexCheckException(CheckedItem.Result.NOTCHECKED,
                  "In-line check content not supported");
            }

            XCCDFCheck check = RuleImpl.newCheck(document, checkType);
              addCheckingUnit(check);
View Full Code Here


            XmlObject xmlObject = cursor.getObject();
            if (xmlObject instanceof CheckType) {
              CheckType checkType = (CheckType)xmlObject;

            if (checkType.isSetCheckContent()) {
              throw new ComplexCheckException(CheckedItem.Result.NOTCHECKED,
                  "In-line check content not supported");
            }

            XCCDFCheck check = RuleImpl.newCheck(document, checkType);
              addCheckingUnit(check);
View Full Code Here

TOP

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

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.