Java 类org.newdawn.slick.util.xml.SlickXMLException 实例源码

项目:trashjam2017    文件:ObjectParserTest.java   
/**
 * Entity point to our test. Simple read some XML which should
 * generate an object tree.
 * 
 * @param argv The arguments passed into the test
 * @throws SlickXMLException Indicates a failure to parse XML or generate objects
 */
public static void main(String[] argv) throws SlickXMLException {
    ObjectTreeParser parser = new ObjectTreeParser("org.newdawn.slick.tests.xml");
    parser.addElementMapping("Bag", ItemContainer.class);

    GameData parsedData = (GameData) parser.parse("testdata/objxmltest.xml");
    parsedData.dump("");
}
项目:Progetto-C    文件:ObjectParserTest.java   
/**
 * Entity point to our test. Simple read some XML which should
 * generate an object tree.
 * 
 * @param argv The arguments passed into the test
 * @throws SlickXMLException Indicates a failure to parse XML or generate objects
 */
public static void main(String[] argv) throws SlickXMLException {
    ObjectTreeParser parser = new ObjectTreeParser("org.newdawn.slick.tests.xml");
    parser.addElementMapping("Bag", ItemContainer.class);

    GameData parsedData = (GameData) parser.parse("testdata/objxmltest.xml");
    parsedData.dump("");
}
项目:BaseClient    文件:ObjectParserTest.java   
/**
 * Entity point to our test. Simple read some XML which should
 * generate an object tree.
 * 
 * @param argv The arguments passed into the test
 * @throws SlickXMLException Indicates a failure to parse XML or generate objects
 */
public static void main(String[] argv) throws SlickXMLException {
    ObjectTreeParser parser = new ObjectTreeParser("org.newdawn.slick.tests.xml");
    parser.addElementMapping("Bag", ItemContainer.class);

    GameData parsedData = (GameData) parser.parse("testdata/objxmltest.xml");
    parsedData.dump("");
}
项目:GPVM    文件:ObjectParserTest.java   
/**
 * Entity point to our test. Simple read some XML which should
 * generate an object tree.
 * 
 * @param argv The arguments passed into the test
 * @throws SlickXMLException Indicates a failure to parse XML or generate objects
 */
public static void main(String[] argv) throws SlickXMLException {
    ObjectTreeParser parser = new ObjectTreeParser("org.newdawn.slick.tests.xml");
    parser.addElementMapping("Bag", ItemContainer.class);

    GameData parsedData = (GameData) parser.parse("testdata/objxmltest.xml");
    parsedData.dump("");
}
项目:SpaceStationAlpha    文件:ObjectParserTest.java   
/**
 * Entity point to our test. Simple read some XML which should
 * generate an object tree.
 * 
 * @param argv The arguments passed into the test
 * @throws SlickXMLException Indicates a failure to parse XML or generate objects
 */
public static void main(String[] argv) throws SlickXMLException {
    ObjectTreeParser parser = new ObjectTreeParser("org.newdawn.slick.tests.xml");
    parser.addElementMapping("Bag", ItemContainer.class);

    GameData parsedData = (GameData) parser.parse("testdata/objxmltest.xml");
    parsedData.dump("");
}
项目:cretion    文件:ObjectParserTest.java   
/**
 * Entity point to our test. Simple read some XML which should
 * generate an object tree.
 * 
 * @param argv The arguments passed into the test
 * @throws SlickXMLException Indicates a failure to parse XML or generate objects
 */
public static void main(String[] argv) throws SlickXMLException {
    ObjectTreeParser parser = new ObjectTreeParser("org.newdawn.slick.tests.xml");
    parser.addElementMapping("Bag", ItemContainer.class);

    GameData parsedData = (GameData) parser.parse("testdata/objxmltest.xml");
    parsedData.dump("");
}
项目:slick2d-maven    文件:ObjectParserTest.java   
/**
 * Entity point to our test. Simple read some XML which should
 * generate an object tree.
 * 
 * @param argv The arguments passed into the test
 * @throws SlickXMLException Indicates a failure to parse XML or generate objects
 */
public static void main(String[] argv) throws SlickXMLException {
    ObjectTreeParser parser = new ObjectTreeParser("org.newdawn.slick.tests.xml");
    parser.addElementMapping("Bag", ItemContainer.class);

    GameData parsedData = (GameData) parser.parse("testdata/objxmltest.xml");
    parsedData.dump("");
}