Examples of OCILType


Examples of gov.nist.scap.schema.ocil.x20.OCILType

    this.resultContext = resultContext;
    this.status = AssessmentResult.Status.SUCCESSFUL;
    this.statusMessage = null;

    OcilDocument document = resultContext.getResultContent().getXmlObject();
    OCILType ocil = document.getOcil();
    ResultsType results = ocil.getResults();
    QuestionnaireResultsType questionnaireResults = (results != null) ? results
        .getQuestionnaireResults()
        : null;

    int mapSize = (questionnaireResults != null) ? questionnaireResults
View Full Code Here

Examples of gov.nist.scap.schema.ocil.x20.OCILType

    private final Map<String, ExternalVariableType> variables;

  public OCILResolver(final File ocilQuestionnaireFile) throws XmlException,
      IOException {
    this.document = OcilDocument.Factory.parse(ocilQuestionnaireFile);
    OCILType ocil = document.getOcil();

      if (ocil.isSetVariables()) {
        List<VariableType> data = ocil.getVariables().getVariableList();
        variables = new HashMap<String, ExternalVariableType>(data.size());
        for (VariableType node : data) {
          if (node instanceof ExternalVariableType) {
            this.variables.put(node.getId(), (ExternalVariableType)node);
          }
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.