Package org.newdawn.slick.util.xml

Examples of org.newdawn.slick.util.xml.XMLParser


   *
   * @param argv The arguments given to the test
   * @throws SlickException Indicates a failure
   */
  public static void main(String[] argv) throws SlickException {
    XMLParser parser = new XMLParser();
   
    XMLElement root = parser.parse("testdata/test.xml");
   
    assertEquals(root.getName(), "testRoot");
    System.out.println(root);
    assertNotNull(root.getChildrenByName("simple").get(0).getContent());
    System.out.println(root.getChildrenByName("simple").get(0).getContent());
View Full Code Here

TOP

Related Classes of org.newdawn.slick.util.xml.XMLParser

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.