Package net.alteiar.utils

Examples of net.alteiar.utils.XMLFileLoader


  public static String path = "./ressources/EffectRessource/xml/Shape.xml";

  public ArrayList<ArrayList<String[]>> CreateComboList(String path) {
    ArrayList<ArrayList<String[]>> result = new ArrayList<ArrayList<String[]>>();
    XMLFileLoader xmlDocument = new XMLFileLoader(path);
    ArrayList<String> triggerTypes = xmlDocument
        .getNodeNameInTag("ShapeElement");
    result.add(new ArrayList<String[]>());

    String[] temp = new String[triggerTypes.size()];
    temp = triggerTypes.toArray(temp);
View Full Code Here


    return result;
  }

  public Class<?> getShapeBuilderClass(String path, String name)
      throws ClassNotFoundException {
    XMLFileLoader xmlDocument = new XMLFileLoader(path);
    ArrayList<String> type = xmlDocument.getNodeItemInTag("shape", name);
    return Class.forName(type.get(0));
  }
View Full Code Here

TOP

Related Classes of net.alteiar.utils.XMLFileLoader

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.