2 package net.sf.openrocket.preset.xml;
4 import net.sf.openrocket.preset.ComponentPreset;
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlRootElement;
11 * Tube coupler preset XML handler.
13 @XmlRootElement(name = "TubeCoupler")
14 @XmlAccessorType(XmlAccessType.FIELD)
15 public class TubeCouplerDTO extends BodyTubeDTO {
18 * Default constructor.
20 public TubeCouplerDTO() {
24 * Most-useful constructor that maps a TubeCoupler preset to a TubeCouplerDTO.
26 * @param thePreset the preset
28 * @throws net.sf.openrocket.util.BugException thrown if the expected tube coupler keys are not in the preset
30 public TubeCouplerDTO(ComponentPreset thePreset) {