Package uk.ac.cam.ch.wwmm.ptclib.xml

Examples of uk.ac.cam.ch.wwmm.ptclib.xml.XOMFormatter


    testDoc = new Builder().build(testXMLString, "//notimportant/");   
  }

  @Test
  public void testElemToString() {
    XOMFormatter testXOMFormatter = new XOMFormatter();
    assertNotNull("Created OK", testXOMFormatter);
   
    Element rootElem = testDoc.getRootElement();
    assertEquals("Get formatted XML", testXMLString, testXOMFormatter.elemToString(rootElem));
  }
View Full Code Here

TOP

Related Classes of uk.ac.cam.ch.wwmm.ptclib.xml.XOMFormatter

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.