Package gov.nist.scap.xccdf.document.selector

Examples of gov.nist.scap.xccdf.document.selector.RefineValueProfileSelector


              SelectProfileSelector selector = new SelectProfileSelectorImpl(this, nodeData.getIdref(), nodeData.getSelected());
              result.add(selector);
            } else if (ProfileRefineValueType.type.isAssignableFrom(xmlObject.schemaType())) {
              ProfileRefineValueType nodeData = (ProfileRefineValueType)xmlObject;

              RefineValueProfileSelector selector = new RefineValueProfileSelectorImpl(this, nodeData.getIdref());
              selector.setSelector(nodeData.getSelector());
              selector.setOperator(ValueImpl.mapOperator(nodeData.getOperator()));

              result.add(selector);
            } else if (ProfileRefineRuleType.type.isAssignableFrom(xmlObject.schemaType())) {
              ProfileRefineRuleType nodeData = (ProfileRefineRuleType)xmlObject;

              RefineRuleProfileSelector selector = new RefineRuleProfileSelectorImpl(this, nodeData.getIdref());
              selector.setWeight(nodeData.getWeight());
              selector.setSelector(nodeData.getSelector());
              selector.setSeverity(RuleImpl.mapSeverity(nodeData.getSeverity()));
              selector.setRole(RuleImpl.mapRole(nodeData.getRole()));

              result.add(selector);
            } else if (ProfileSetValueType.type.isAssignableFrom(xmlObject.schemaType())) {
              ProfileSetValueType nodeData = (ProfileSetValueType)xmlObject;
View Full Code Here


              SelectProfileSelector selector = new SelectProfileSelectorImpl(this, nodeData.getIdref(), nodeData.getSelected());
              result.add(selector);
            } else if (ProfileRefineValueType.type.isAssignableFrom(xmlObject.schemaType())) {
              ProfileRefineValueType nodeData = (ProfileRefineValueType)xmlObject;

              RefineValueProfileSelector selector = new RefineValueProfileSelectorImpl(this, nodeData.getIdref());
              selector.setSelector(nodeData.getSelector());
              selector.setOperator(ValueImpl.mapOperator(nodeData.getOperator()));

              result.add(selector);
            } else if (ProfileRefineRuleType.type.isAssignableFrom(xmlObject.schemaType())) {
              ProfileRefineRuleType nodeData = (ProfileRefineRuleType)xmlObject;

              RefineRuleProfileSelector selector = new RefineRuleProfileSelectorImpl(this, nodeData.getIdref());
              selector.setWeight(nodeData.getWeight());
              selector.setSelector(nodeData.getSelector());
              selector.setSeverity(RuleImpl.mapSeverity(nodeData.getSeverity()));
              selector.setRole(RuleImpl.mapRole(nodeData.getRole()));

              result.add(selector);
            } else if (ProfileSetValueType.type.isAssignableFrom(xmlObject.schemaType())) {
              ProfileSetValueType nodeData = (ProfileSetValueType)xmlObject;
View Full Code Here

TOP

Related Classes of gov.nist.scap.xccdf.document.selector.RefineValueProfileSelector

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.