Package eu.ha3.matmos.engine.core.interfaces

Examples of eu.ha3.matmos.engine.core.interfaces.Named


    this.root.set.put(name, set);
  }
 
  private void parseXML_5_event(Element capsule, String name)
  {
    SerialEvent event = new SerialEvent();
   
    String volmin = eltString(VOLMIN, capsule);
    String volmax = eltString(VOLMAX, capsule);
    String pitchmin = eltString(PITCHMIN, capsule);
    String pitchmax = eltString(PITCHMAX, capsule);
View Full Code Here


    this.root.dynamic.put(name, dynamic);
  }
 
  private void parseXML_2_list(Element capsule, String name)
  {
    SerialList list = new SerialList();
    SerialList asItem = new SerialList();
    SerialList asBlock = new SerialList();
   
    for (Element eelt : DomUtil.getChildren(capsule, CONSTANT))
    {
      list.entries.add(textOf(eelt));
     
View Full Code Here

    }
    if (root.machine != null)
    {
      for (Entry<String, SerialMachine> entry : root.machine.entrySet())
      {
        SerialMachine serial = entry.getValue();
       
        List<TimedEvent> events = new ArrayList<TimedEvent>();
       
        if (serial.event != null)
        {
View Full Code Here

    this.root.event.put(name, event);
  }
 
  private void parseXML_6_machine(Element capsule, String name)
  {
    SerialMachine machine = new SerialMachine();
   
    SerialMachineStream stream = null;
    for (Element eelt : DomUtil.getChildren(capsule, STREAM))
    {
      stream = inscriptXMLstream(eelt, machine);
View Full Code Here

    return textOf(DomUtil.getChild(ele, tagName));
  }
 
  private SerialMachineEvent inscriptXMLeventTimed(Element specs)
  {
    SerialMachineEvent sme = new SerialMachineEvent();
   
    String eventname = eltString(EVENTNAME, specs);
    String volmod = eltString(VOLMOD, specs);
    String pitchmod = eltString(PITCHMOD, specs);
    String delaymin = eltString(DELAYMIN, specs);
View Full Code Here

   
    for (SerialMachine machine : root.machine.values())
    {
      for (Iterator<SerialMachineEvent> iter = machine.event.iterator(); iter.hasNext();)
      {
        SerialMachineEvent machineEvent = iter.next();
        if (machineEvent.event.equals(oldName))
        {
          if (isRename)
          {
            machineEvent.event = newName;
View Full Code Here

    return sme;
  }
 
  private SerialMachineStream inscriptXMLstream(Element specs, SerialMachine machine)
  {
    SerialMachineStream sms = new SerialMachineStream();
   
    String _PATH = eltString(PATH, specs);
    String _VOLUME = eltString(VOLUME, specs);
    String _PITCH = eltString(PITCH, specs);
    String _FADEINTIME = eltString(FADEINTIME, specs);
View Full Code Here

 
  private void parseXML_6_machine(Element capsule, String name)
  {
    SerialMachine machine = new SerialMachine();
   
    SerialMachineStream stream = null;
    for (Element eelt : DomUtil.getChildren(capsule, STREAM))
    {
      stream = inscriptXMLstream(eelt, machine);
    }
    if (stream != null)
View Full Code Here

  }
 
  private void parseJsonUnsafe(String jasonString, ExpansionIdentity identity, Knowledge knowledge)
  {
    prepare(identity, knowledge);
    SerialRoot root = new Gson().fromJson(new JsonParser().parse(jasonString).getAsJsonObject(), SerialRoot.class);
    continueFromSerial(root, identity, knowledge);
  }
View Full Code Here

    catch (Exception e)
    {
      e.printStackTrace();
    }
   
    this.root = new SerialRoot();
    this.hasModifiedContents = false;
    this.file = potentialFile;
  }
View Full Code Here

TOP

Related Classes of eu.ha3.matmos.engine.core.interfaces.Named

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.