Package org.apache.wookie.w3c.updates

Examples of org.apache.wookie.w3c.updates.UpdateDescriptionDocument.toXml()


    el.addContent(details);
    doc.setRootElement(el);
    udd.fromXML(doc);
    // Export to XML
    doc = new Document();
    doc.setRootElement(udd.toXml());
    // Read in again - should be a valid UDD
    udd.fromXML(doc);
    assertEquals("1.0", udd.getVersionTag());
    assertEquals("http://incubator.apache.org/wookie/test.wgt", udd.getUpdateSource().toString());
    assertEquals("test", udd.getDetails("en"));
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.