Examples of SelStringType


Examples of gov.nist.checklists.xccdf.x11.SelStringType

      // Build a map of elements using the selector as the key
      do {
        LiteralValue literal;
        XmlObject obj = cursor.getObject();
        if (obj instanceof SelStringType) {
          SelStringType node = (SelStringType)obj;
          literal = new DefaultLiteralValue(
              node.getSelector(),
              Collections.singletonList(node.getStringValue()),
              false);
          found = true;
        } else {
          if (!found) {
            continue;
View Full Code Here

Examples of gov.nist.checklists.xccdf.x12.SelStringType

      // Build a map of elements using the selector as the key
      do {
        LiteralValue literal;
        XmlObject obj = cursor.getObject();
        if (obj instanceof SelStringType) {
          SelStringType node = (SelStringType)obj;
          literal = new DefaultLiteralValue(
              node.getSelector(),
              Collections.singletonList(node.getStringValue()),
              false);
          found = true;
        } else if (obj instanceof SelComplexValueType) {
          SelComplexValueType node = (SelComplexValueType)obj;
          literal = new DefaultLiteralValue(
              node.getSelector(),
              node.getItemList(),
              true);
          found = true;
        } else {
          if (!found) {
            continue;
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.