Package org.mitre.oval.xmlSchema.ovaldi.evalids

Examples of org.mitre.oval.xmlSchema.ovaldi.evalids.EvalutationDefinitionIdsDocument.save()


            Set<String> defList = getCheckedDefinitions();
            if (!defList.isEmpty()) {
                EvalutationDefinitionIdsDocument evaluatedDefinitionsDocument = getEvaluatedDefinitionsDocument(defList);
                if (evaluatedDefinitionsDocument != null) {
                    File evaluatedDefinitionsFile = resultContext.getAuxiliaryFile("oval-evaluation-ids_", ".xml");
                    evaluatedDefinitionsDocument.save(evaluatedDefinitionsFile, new XmlOptions().setSavePrettyPrint());
                    exec.setExternalEvaluatedDefinitionsFile(evaluatedDefinitionsFile);
                    evaluationIdsDocumentContent = new FileResultContent(evaluatedDefinitionsFile);
                }
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.