Examples of TailoringType


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

    instance = doc;
    data = doc.getBenchmark().addNewTestResult();
  }

  public void appendTailoring(SourceContext tailoring) {
    TailoringType node;
    try {
      node = tailoring.getSourceContent().getXmlBeansInstance().getXmlObjectAsType();
    } catch (XmlException e) {
      throw new RuntimeException(e);
    } catch (IOException e) {
      throw new RuntimeException(e);
    }
    TailoringReferenceType tailoringFile = data.addNewTailoringFile();
    tailoringFile.setId(node.getId());
    tailoringFile.setHref(tailoring.getUri().toASCIIString());
    tailoringFile.setVersion(node.getVersion().getStringValue());
    tailoringFile.setTime(node.getVersion().getTime());
  }
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.