Package resources.digesters

Examples of resources.digesters.Plugin


      for (int i=0; i<this.getRobotArray().size();i++)
      {
        String file =((Robot)this.getRobotArray().get(i)).getXMLConfigFile();
        xmlWriter.println("\t<robot>");
        xmlWriter.println("\t\t<xmlfile>"+this.getBaseSimulationDirectory()+"\\components\\"+file+"</xmlfile>");
        Plugin robot = ClassManager.getInstance().getPluginByName(((Robot)this.getRobotArray().get(i)).getClass().getCanonicalName());
        xmlWriter.println("\t\t<xml-rules>"+robot.getContext().getPath()+robot.getXmlRulesFile()+"</xml-rules>");
        xmlWriter.println("\t</robot>");
      }
     
      xmlWriter.println("\t<gps>");
      xmlWriter.println("\t\t<xmlfile>"+this.getBaseSimulationDirectory()+"\\components\\gps.xml</xmlfile>");
      Plugin gps = ClassManager.getInstance().getPluginByName(Simulation.getCurrent().getGps().getClass().getCanonicalName());
      xmlWriter.println("\t\t<xml-rules>"+gps.getContext().getPath()+gps.getXmlRulesFile()+"</xml-rules>");
      xmlWriter.println("\t</gps>");
     
      // Bloques XML correspondientes a los lugares ("places").
      xmlWriter.println("\t<places>");
      for (int i=0;i<places.length;i++)
View Full Code Here

TOP

Related Classes of resources.digesters.Plugin

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.