Examples of ClassMap


Examples of avrora.util.ClassMap

        addSimulations();
    }

    private static void addMonitors() {
        if (monitorMap == null) {
            monitorMap = new ClassMap("Monitor", MonitorFactory.class);
            //-- DEFAULT MONITORS AVAILABLE
            monitorMap.addClass("calls", CallMonitor.class);
            monitorMap.addClass("profile", ProfileMonitor.class);
            monitorMap.addClass("memory", MemoryMonitor.class);
            monitorMap.addClass("sleep", SleepMonitor.class);
View Full Code Here

Examples of avrora.util.ClassMap

        }
    }

    private static void addTestHarnesses() {
        if (harnessMap == null) {
            harnessMap = new ClassMap("Test Harness", TestHarness.class);
            //-- DEFAULT TEST HARNESSES
            harnessMap.addClass("simulator", SimulatorTestHarness.class);
            harnessMap.addClass("simplifier", SimplifierTestHarness.class);
            harnessMap.addClass("probes", ProbeTestHarness.class);
            harnessMap.addClass("disassembler", DisassemblerTestHarness.class);
View Full Code Here

Examples of avrora.util.ClassMap

        }
    }

    private static void addInputFormats() {
        if (inputs == null) {
            inputs = new ClassMap("Input Format", ProgramReader.class);
            //-- DEFAULT INPUT FORMATS
            inputs.addClass("auto", AutoProgramReader.class);
            inputs.addClass("gas", GASProgramReader.class);
            inputs.addClass("atmel", AtmelProgramReader.class);
            inputs.addClass("objdump", ObjDumpProgramReader.class);
View Full Code Here

Examples of avrora.util.ClassMap

        }
    }

    private static void addActions() {
        if (actions == null) {
            actions = new ClassMap("Action", Action.class);
            //-- DEFAULT ACTIONS
            actions.addClass("simulate", SimulateAction.class);
            actions.addClass("analyze-stack", AnalyzeStackAction.class);
            actions.addClass("test", TestAction.class);
            actions.addClass("cfg", CFGAction.class);
View Full Code Here

Examples of avrora.util.ClassMap

        }
    }

    private static void addSimulations() {
        if (simMap == null) {
            simMap = new ClassMap("Simulation", Simulation.class);
            //-- DEFAULT ACTIONS
            simMap.addClass("single", SingleSimulation.class);
            simMap.addClass("sensor-network", SensorSimulation.class);
      simMap.addClass("external-network", ExternalSimulation.class);
View Full Code Here

Examples of avrora.util.ClassMap

        }
    }

    private static void addPlatforms() {
        if (platforms == null) {
            platforms = new ClassMap("Platform", PlatformFactory.class);
            //-- DEFAULT PLATFORMS
            platforms.addClass("mica2", Mica2.Factory.class);
            platforms.addClass("micaz", MicaZ.Factory.class);
            platforms.addClass("seres", Seres.Factory.class);
        }
View Full Code Here

Examples of avrora.util.ClassMap

        }
    }

    private static void addMicrocontrollers() {
        if (microcontrollers == null) {
            microcontrollers = new ClassMap("Microcontroller", MicrocontrollerFactory.class);
            //-- DEFAULT MICROCONTROLLERS
            microcontrollers.addInstance("atmega128", new ATMega128.Factory());
            microcontrollers.addInstance("atmega32", new ATMega32.Factory());
            microcontrollers.addInstance("atmega16", new ATMega16.Factory());
        }
View Full Code Here

Examples of com.addthis.codec.Codec.ClassMap

            classMap = null;
            return;
        }

        Class<?> findBaseClass = clazz;
        ClassMap findClassMap = null;

        // get class annotations
        Class<?> ptr = clazz;
        while (ptr != null) {
            Annotation classpolicy = ptr.getAnnotation(Set.class);
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.map.ClassMap

 
  private void parseClassMaps() {
    Iterator<Individual> it = this.model.listIndividuals(D2RQ.ClassMap);
    while (it.hasNext()) {
      Resource r = it.next();
      ClassMap classMap = new ClassMap(r);
      parseClassMap(classMap, r);
      parseResourceMap(classMap, r);
      this.mapping.addClassMap(classMap);
    }
  }
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.map.ClassMap

 
  private void parsePropertyBridges() {
    StmtIterator stmts = this.model.listStatements(null, D2RQ.belongsToClassMap, (RDFNode) null);
    while (stmts.hasNext()) {
      Statement stmt = stmts.nextStatement();
      ClassMap classMap = this.mapping.classMap(stmt.getResource());
      Resource r = stmt.getSubject();
      PropertyBridge bridge = new PropertyBridge(r);
      bridge.setBelongsToClassMap(classMap);
      parseResourceMap(bridge, r);
      parsePropertyBridge(bridge, r);
      classMap.addPropertyBridge(bridge);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.