Examples of DDMSVersion


Examples of buri.ddmsence.util.DDMSVersion

 
  /**
   * Returns the expected XML output for this unit test
   */
  private String getExpectedXMLOutput() {
    DDMSVersion version = DDMSVersion.getCurrentVersion();
    StringBuffer xml = new StringBuffer();
    xml.append("<ddms:type ").append(getXmlnsDDMS()).append(" ");
    if (version.isAtLeast("4.0.1")) {
      xml.append(getXmlnsISM()).append(" ");
    }
    xml.append("ddms:qualifier=\"").append(TEST_QUALIFIER).append("\" ");
    xml.append("ddms:value=\"").append(TEST_VALUE).append("\"");
    if (version.isAtLeast("4.0.1")) {
      xml.append(" ism:classification=\"U\" ism:ownerProducer=\"USA\">Description</ddms:type>");
    }
    else
      xml.append(" />");
    return (xml.toString());
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.