Subversion Repositories svn.mios

Rev

Rev 709 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
709 adamjking 1
package org.midibox.mios.xml;
2
 
721 adamjking 3
import org.midibox.midi.xml.VirtualMidiDeviceXML;
4
import org.midibox.mios.HexFileUploadDevice;
5
import org.w3c.dom.Node;
709 adamjking 6
 
721 adamjking 7
public class HexFileUploadDeviceXML extends VirtualMidiDeviceXML {
8
 
9
    protected HexFileUploadDevice hexFileUploadDevice;
10
 
11
    protected String hexFileUploadTag = "hexFileUpload";
12
 
13
    public HexFileUploadDeviceXML(HexFileUploadDevice hexFileUploadDevice,
14
            String rootElementTag) {
15
 
16
        super(hexFileUploadDevice, rootElementTag);
17
 
18
        this.hexFileUploadDevice = hexFileUploadDevice;
19
    }
20
 
21
    public void saveXML(Node node) {
22
 
23
        super.saveXML(node);
24
 
25
        HexFileUploadXML hexFileUploadXML = new HexFileUploadXML(
26
                hexFileUploadDevice.getHexFileUpload(), hexFileUploadTag);
27
 
28
        hexFileUploadXML.saveXML(rootElement);
29
    }
709 adamjking 30
}