Examples of DefinitionsType


Examples of org.mitre.oval.xmlSchema.ovalResults5.DefinitionsType

    } else {
      this.status = AssessmentResult.Status.SUCCESSFUL;
      this.statusMessage = null;

      SystemType system = systems.iterator().next();
      DefinitionsType definitions = system.getDefinitions();
      definitionResultMap = new HashMap<String, OVALDefinitionResult>(
          definitions.sizeOfDefinitionArray());

      OVALResolver ovalResolver = assessmentFile.getOvalResolver();

      for (DefinitionType definition : definitions.getDefinitionList()) {
        String id = definition.getDefinitionId();
        ClassEnumeration.Enum definitionClass = ovalResolver.getDefinition(id).getClass1();

        OVALDefinitionResult defResult = new OVALDefinitionResult(definition, definitionClass, this);
        definitionResultMap.put(defResult.getId(), defResult);
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.