Package gov.nist.scap.xccdf

Examples of gov.nist.scap.xccdf.DefaultRequires


    List<Requires> retval = new ArrayList<Requires>(node.size());
    for (IdrefListType idrefList : node) {
      @SuppressWarnings("unchecked")
      List<String> idrefs = idrefList.getIdref();

      DefaultRequires requires = new DefaultRequires();
      boolean found = false;
      for (String id : idrefs) {
        SelectableItem item = getDocument().lookupSelectableItem(id);
        if (item == null) {
          log.error("required item '"+id+"' not found");
        } else {
          requires.addSelectableItem(item);
          found = true;
        }
      }
      if (found) {
        retval.add(requires);
View Full Code Here


    List<Requires> retval = new ArrayList<Requires>(node.size());
    for (IdrefListType idrefList : node) {
      @SuppressWarnings("unchecked")
      List<String> idrefs = idrefList.getIdref();

      DefaultRequires requires = new DefaultRequires();
      boolean found = false;
      for (String id : idrefs) {
        SelectableItem item = getDocument().lookupSelectableItem(id);
        if (item == null) {
          log.error("required item '"+id+"' not found");
        } else {
          requires.addSelectableItem(item);
          found = true;
        }
      }
      if (found) {
        retval.add(requires);
View Full Code Here

    List<Requires> retval = new ArrayList<Requires>(node.size());
    for (IdrefListType idrefList : node) {
      @SuppressWarnings("unchecked")
      List<String> idrefs = idrefList.getIdref();

      DefaultRequires requires = new DefaultRequires();
      boolean found = false;
      for (String id : idrefs) {
        SelectableItem item = getDocument().lookupSelectableItem(id);
        if (item == null) {
          log.error("required item '"+id+"' not found");
        } else {
          requires.addSelectableItem(item);
          found = true;
        }
      }
      if (found) {
        retval.add(requires);
View Full Code Here

    List<Requires> retval = new ArrayList<Requires>(node.size());
    for (IdrefListType idrefList : node) {
      @SuppressWarnings("unchecked")
      List<String> idrefs = idrefList.getIdref();

      DefaultRequires requires = new DefaultRequires();
      boolean found = false;
      for (String id : idrefs) {
        SelectableItem item = getDocument().lookupSelectableItem(id);
        if (item == null) {
          log.error("required item '"+id+"' not found");
        } else {
          requires.addSelectableItem(item);
          found = true;
        }
      }
      if (found) {
        retval.add(requires);
View Full Code Here

TOP

Related Classes of gov.nist.scap.xccdf.DefaultRequires

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.