Subversion Repositories svn.mios

Rev

Rev 709 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 709 Rev 721
Line 1... Line 1...
1
package org.midibox.mios.xml;
1
package org.midibox.mios.xml;
2
2
-
 
3
import org.midibox.midi.xml.VirtualMidiDeviceXML;
3
public class HexFileUploadDeviceXML {
4
import org.midibox.mios.HexFileUploadDevice;
-
 
5
import org.w3c.dom.Node;
4
6
-
 
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
    }
5
}
30
}